fixed dht race condition (confirmed to work on windows too)
This commit is contained in:
parent
fe94f17835
commit
fd8a07ac15
|
@ -2337,7 +2337,6 @@ namespace aux {
|
||||||
mutex_t::scoped_lock l(m_mutex);
|
mutex_t::scoped_lock l(m_mutex);
|
||||||
if (m_dht) e = m_dht->state();
|
if (m_dht) e = m_dht->state();
|
||||||
done = true;
|
done = true;
|
||||||
l.unlock();
|
|
||||||
c.notify_all();
|
c.notify_all();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue