-
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.
Fix mutex use after destroy upon stack shutdown (#24191)
* Fix mutex use after destroy upon stack shutdown Shutting down CHIP stack when the event loop is still running might lead to use after free for objects used in CHIP main event loop. This commit fixes this by not running pychip_DeviceController_StackShutdown() on the CHIP thread, but in the main thread of Python application. * Account for externally managed threads which are joined outside of the POSIX platform manager implementation class. * java: Stop IO thread before shutting down commissioner
- Loading branch information
Showing
4 changed files
with
69 additions
and
41 deletions.
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
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
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
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