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:
Steven Siloti 2017-01-06 21:36:38 -08:00 committed by Arvid Norberg
parent ff8345101e
commit 2ed4bee1cb
1 changed files with 0 additions and 6 deletions

View File

@ -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