fixed dht race condition (confirmed to work on windows too)

This commit is contained in:
Arvid Norberg 2009-01-24 18:29:33 +00:00
parent fe94f17835
commit fd8a07ac15
1 changed files with 0 additions and 1 deletions

View File

@ -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();
} }