mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 18:56:24 +00:00
Was not closing _shutdownSignalPipe in UnixEthernetTap either...
This commit is contained in:
parent
6c5f6feb5e
commit
420edf23ad
@ -439,6 +439,8 @@ UnixEthernetTap::~UnixEthernetTap()
|
||||
::write(_shutdownSignalPipe[1],"\0",1); // causes thread to exit
|
||||
Thread::join(_thread);
|
||||
::close(_fd);
|
||||
::close(_shutdownSignalPipe[0]);
|
||||
::close(_shutdownSignalPipe[1]);
|
||||
|
||||
#ifdef __APPLE__
|
||||
EthernetTap_instances_m.lock();
|
||||
|
Loading…
Reference in New Issue
Block a user