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. (#24767)
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. Fixes project-chip/connectedhomeip#14859
- Loading branch information