Skip to content
Snippets Groups Projects
Commit a72ddfdb authored by Seva's avatar Seva
Browse files

dhtnode: fix shutdown deadlock

parent e7b03e4d
No related branches found
No related tags found
No related merge requests found
...@@ -580,7 +580,6 @@ main(int argc, char **argv) ...@@ -580,7 +580,6 @@ main(int argc, char **argv)
node->shutdown([&]() node->shutdown([&]()
{ {
std::lock_guard<std::mutex> lk(m);
done = true; done = true;
cv.notify_all(); cv.notify_all();
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment