mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-15 01:23:14 -07:00
Make LWIPStack clean up properly.
This commit is contained in:
parent
fbde40d1fc
commit
557d2b3b0d
2 changed files with 19 additions and 6 deletions
|
@ -96,6 +96,7 @@ NetconEthernetTap::~NetconEthernetTap()
|
|||
_phy.whack();
|
||||
Thread::join(_thread);
|
||||
_phy.close(_unixListenSocket,false);
|
||||
delete lwipstack;
|
||||
}
|
||||
|
||||
void NetconEthernetTap::setEnabled(bool en)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue