Make LWIPStack clean up properly.

This commit is contained in:
Adam Ierymenko 2015-09-24 11:11:16 -07:00
parent fbde40d1fc
commit 557d2b3b0d
2 changed files with 19 additions and 6 deletions

View file

@ -96,6 +96,7 @@ NetconEthernetTap::~NetconEthernetTap()
_phy.whack();
Thread::join(_thread);
_phy.close(_unixListenSocket,false);
delete lwipstack;
}
void NetconEthernetTap::setEnabled(bool en)