honor torrent abort even on file check error

This commit is contained in:
Arvid Norberg 2018-04-21 10:43:55 -04:00 committed by Arvid Norberg
parent d34973def9
commit b4d2281e53
1 changed files with 2 additions and 2 deletions

View File

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