added debug message to dht. fixed while loop around condition variable in checker thread.
This commit is contained in:
@@ -120,7 +120,7 @@ namespace libtorrent { namespace detail
|
||||
// if the job queue is empty and
|
||||
// we shouldn't abort
|
||||
// wait for a signal
|
||||
if (m_torrents.empty() && !m_abort && !processing)
|
||||
while (m_torrents.empty() && !m_abort && !processing)
|
||||
m_cond.wait(l);
|
||||
|
||||
if (m_abort)
|
||||
|
Reference in New Issue
Block a user