forked from premiere/premiere-libtorrent
added invariant check in on_piece_checked to narrow down #472
This commit is contained in:
parent
13ceee7a55
commit
c8a784a513
|
@ -906,6 +906,8 @@ namespace libtorrent
|
||||||
{
|
{
|
||||||
session_impl::mutex_t::scoped_lock l(m_ses.m_mutex);
|
session_impl::mutex_t::scoped_lock l(m_ses.m_mutex);
|
||||||
|
|
||||||
|
INVARIANT_CHECK;
|
||||||
|
|
||||||
if (ret == piece_manager::disk_check_aborted)
|
if (ret == piece_manager::disk_check_aborted)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue