forked from premiere/premiere-libtorrent
disable invariant check when TORRENT_DISABLE_INVARIANT_CHECKS is defined
This commit is contained in:
parent
adb3a5523c
commit
d0d92a207e
|
@ -8668,7 +8668,9 @@ namespace libtorrent
|
||||||
if (!m_state_subscription) return;
|
if (!m_state_subscription) return;
|
||||||
if (m_in_state_updates)
|
if (m_in_state_updates)
|
||||||
{
|
{
|
||||||
|
#ifndef TORRENT_DISABLE_INVARIANT_CHECKS
|
||||||
TORRENT_ASSERT(m_ses.in_state_updates(shared_from_this()));
|
TORRENT_ASSERT(m_ses.in_state_updates(shared_from_this()));
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue