mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-13 04:38:28 +00:00
Fix for crazy Windows threading bug... repeatedly adding and removing a network now doesn't leave networks in limbo.
This commit is contained in:
@ -286,7 +286,7 @@ void NodeConfig::_doCommand(IpcConnection *ipcc,const char *commandLine)
|
||||
if (nw == _networks.end()) {
|
||||
ipcc->printf("404 leave %.16llx ERROR: not a member of that network"ZT_EOL_S,(unsigned long long)nwid);
|
||||
} else {
|
||||
nw->second->destroyOnDelete();
|
||||
nw->second->destroy();
|
||||
_networks.erase(nw);
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user