mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-14 16:51:18 +10:00
fix(download agent): fixed completed indexes
This commit is contained in:
@ -302,7 +302,7 @@ impl GameDownloadAgent {
|
|||||||
|
|
||||||
let completed_lock_len = {
|
let completed_lock_len = {
|
||||||
let mut completed_contexts_lock = self.completed_contexts.lock().unwrap();
|
let mut completed_contexts_lock = self.completed_contexts.lock().unwrap();
|
||||||
for (item, _) in newly_completed.iter() {
|
for (_, item) in newly_completed.iter() {
|
||||||
completed_contexts_lock.push_front(item);
|
completed_contexts_lock.push_front(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user