Fix for MacOS interface setup and config timing bugs.

This commit is contained in:
Adam Ierymenko
2021-09-09 09:30:48 -04:00
parent a91c49fa52
commit 1b8917a57c
4 changed files with 26 additions and 9 deletions

View File

@@ -542,10 +542,7 @@ public:
~NetworkState()
{
this->managedRoutes.clear();
#ifdef __APPLE__
Thread::sleep(10);
this->tap.reset();
#endif
}
std::shared_ptr<EthernetTap> tap;