allow clearing the notify function in alert manager
This commit is contained in:
parent
52b4aed466
commit
f86283ac30
|
@ -147,7 +147,7 @@ namespace libtorrent
|
|||
{
|
||||
// never call a callback with the lock held!
|
||||
lock.unlock();
|
||||
m_notify();
|
||||
if (m_notify) m_notify();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue