mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-14 08:41:21 +10:00
fix: Adding usize to completed_contexts_lock instead of &usize
This commit is contained in:
@ -303,7 +303,7 @@ impl GameDownloadAgent {
|
||||
let completed_lock_len = {
|
||||
let mut completed_contexts_lock = self.completed_contexts.lock().unwrap();
|
||||
for (_, item) in newly_completed.iter() {
|
||||
completed_contexts_lock.push_front(item);
|
||||
completed_contexts_lock.push_front(*item);
|
||||
}
|
||||
|
||||
completed_contexts_lock.len()
|
||||
|
||||
Reference in New Issue
Block a user