From fd8a07ac1580185882b6b05cad4a65cff511cc85 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 24 Jan 2009 18:29:33 +0000 Subject: [PATCH] fixed dht race condition (confirmed to work on windows too) --- src/session_impl.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/session_impl.cpp b/src/session_impl.cpp index b55996337..89b11ceb9 100644 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -2337,7 +2337,6 @@ namespace aux { mutex_t::scoped_lock l(m_mutex); if (m_dht) e = m_dht->state(); done = true; - l.unlock(); c.notify_all(); }