fix invariant check failure

This commit is contained in:
Arvid Norberg 2009-01-07 10:09:25 +00:00
parent 3c3c8889b1
commit 1ac4b29aa9
1 changed files with 3 additions and 6 deletions

View File

@ -919,13 +919,10 @@ namespace libtorrent
" ]\n";
#endif
}
m_error = j.str;
pause();
if (!m_abort)
{
m_ses.done_checking(shared_from_this());
set_state(torrent_status::queued_for_checking);
}
m_error = j.str;
if (!m_abort) m_ses.done_checking(shared_from_this());
set_state(torrent_status::queued_for_checking);
return;
}