fixed disk I/O iterator bug
This commit is contained in:
@@ -1730,6 +1730,7 @@ namespace libtorrent
|
||||
continue;
|
||||
}
|
||||
post_callback(i->second.callback, i->second, -3);
|
||||
if (elevator_job_pos == i) ++elevator_job_pos;
|
||||
sorted_read_jobs.erase(i++);
|
||||
}
|
||||
jl.unlock();
|
||||
@@ -1788,6 +1789,7 @@ namespace libtorrent
|
||||
continue;
|
||||
}
|
||||
post_callback(i->second.callback, i->second, -3);
|
||||
if (elevator_job_pos == i) ++elevator_job_pos;
|
||||
sorted_read_jobs.erase(i++);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user