dhtnode: fix shutdown deadlock

This commit is contained in:
Seva committed 2019-07-16 15:57:19 -04:00
1 parent e7b03e4d53
commit a72ddfdb03
1 file changed
-1
-1
View File
@@ -580,7 +580,6 @@ main(int argc, char **argv)
node->shutdown([&]()
{
std::lock_guard<std::mutex> lk(m);
done = true;
cv.notify_all();
});