mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
dhtnode: fix shutdown deadlock
This commit is contained in:
1 parent
e7b03e4d53
commit
a72ddfdb03
1 file changed
-1
@@ -580,7 +580,6 @@ main(int argc, char **argv)
|
||||
|
||||
node->shutdown([&]()
|
||||
{
|
||||
std::lock_guard<std::mutex> lk(m);
|
||||
done = true;
|
||||
cv.notify_all();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user