mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-20 14:06:54 +02:00
.
This commit is contained in:
parent
7bca81464b
commit
8915b88de5
1 changed files with 7 additions and 0 deletions
|
@ -426,5 +426,12 @@ int main(int argc,char **argv)
|
|||
sleep(1);
|
||||
}
|
||||
|
||||
for(auto s=sockets.begin();s!=sockets.end();++s) {
|
||||
shutdown(*s,SHUT_RDWR);
|
||||
close(*s);
|
||||
}
|
||||
for(auto t=threads.begin();t!=threads.end();++t)
|
||||
t->join();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue