remove racey assert
We arn't holding any mutex here so the fence could have already been cleared by the disk io threads.
This commit is contained in:
parent
ff8345101e
commit
2ed4bee1cb
|
@ -2867,12 +2867,6 @@ namespace libtorrent
|
|||
return;
|
||||
}
|
||||
|
||||
// in this case, we can't run the fence job right now, because there
|
||||
// are other jobs outstanding on this storage. We need to trigger a
|
||||
// flush of all those jobs now. Only write jobs linger, those are the
|
||||
// jobs that needs to be kicked
|
||||
TORRENT_ASSERT(j->blocked);
|
||||
|
||||
if (ret == disk_job_fence::fence_post_flush)
|
||||
{
|
||||
// now, we have to make sure that all outstanding jobs on this
|
||||
|
|
Loading…
Reference in New Issue