mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
runner: release status callback captures on join
This commit is contained in:
1 parent
852403fbeb
commit
6bf01f3b6d
1 file changed
+1
@@ -407,6 +407,7 @@ DhtRunner::join()
|
||||
{
|
||||
std::lock_guard lck(dht_mtx);
|
||||
resetDht();
|
||||
statusCbs.clear();
|
||||
status4 = NodeStatus::Disconnected;
|
||||
status6 = NodeStatus::Disconnected;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user