honor torrent abort even on file check error
This commit is contained in:
parent
d34973def9
commit
b4d2281e53
|
@ -1987,6 +1987,8 @@ bool is_downloading_state(int const st)
|
|||
|
||||
TORRENT_ASSERT(is_single_thread());
|
||||
|
||||
if (m_abort) return;
|
||||
|
||||
if (status == status_t::fatal_disk_error)
|
||||
{
|
||||
TORRENT_ASSERT(m_outstanding_check_files == false);
|
||||
|
@ -1999,8 +2001,6 @@ bool is_downloading_state(int const st)
|
|||
return;
|
||||
}
|
||||
|
||||
if (m_abort) return;
|
||||
|
||||
state_updated();
|
||||
|
||||
if (m_add_torrent_params)
|
||||
|
|
Loading…
Reference in New Issue