Fix for MacOS interface setup and config timing bugs.
This commit is contained in:
parent
a91c49fa52
commit
1b8917a57c
4 changed files with 26 additions and 9 deletions
|
@ -542,10 +542,7 @@ public:
|
|||
~NetworkState()
|
||||
{
|
||||
this->managedRoutes.clear();
|
||||
#ifdef __APPLE__
|
||||
Thread::sleep(10);
|
||||
this->tap.reset();
|
||||
#endif
|
||||
}
|
||||
|
||||
std::shared_ptr<EthernetTap> tap;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue