return if torrent is aborted in files checked
This commit is contained in:
parent
090502390f
commit
a14421bde5
|
@ -3796,6 +3796,8 @@ namespace libtorrent
|
||||||
TORRENT_ASSERT(m_torrent_file->is_valid());
|
TORRENT_ASSERT(m_torrent_file->is_valid());
|
||||||
INVARIANT_CHECK;
|
INVARIANT_CHECK;
|
||||||
|
|
||||||
|
if (m_abort) return;
|
||||||
|
|
||||||
// we might be finished already, in which case we should
|
// we might be finished already, in which case we should
|
||||||
// not switch to downloading mode.
|
// not switch to downloading mode.
|
||||||
if (m_state != torrent_status::finished)
|
if (m_state != torrent_status::finished)
|
||||||
|
|
Loading…
Reference in New Issue