forked from premiere/premiere-libtorrent
fix bug causing shutdown delays
This commit is contained in:
parent
ef1d8b5921
commit
a478fcaf10
|
@ -131,7 +131,7 @@ namespace libtorrent
|
|||
{
|
||||
error_code ec;
|
||||
mutex_t::scoped_lock l(m_mutex);
|
||||
m_timer.cancel(ec);
|
||||
if (m_num_connecting == 0) m_timer.cancel(ec);
|
||||
m_abort = true;
|
||||
|
||||
std::list<entry> to_keep;
|
||||
|
|
Loading…
Reference in New Issue