don't make more calls to the disk thread when aborting
This commit is contained in:
parent
6b4fcfcd38
commit
524151c040
|
@ -2107,6 +2107,8 @@ namespace libtorrent
|
|||
remote(), pid(), block_finished.block_index, block_finished.piece_index));
|
||||
}
|
||||
|
||||
if (t->is_aborted()) return;
|
||||
|
||||
// did we just finish the piece?
|
||||
if (picker.is_piece_finished(p.piece))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue