-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call stopControllerFactory atexit in the Darwin framework.
We have lots of things with static destructors that assert clean shutdown in the destructor. That means that calling exit() without a clean shutdown is pretty much guaranteed to lead to a shutdown crash. Just ensure that we are in fact shutting down the MTRDeviceControllerFactory if exit() is called, to avoid those crashes.
1 parent
b15826a
commit 5afad08
Showing
1 changed file
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters