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
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
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;