forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race when trying to use Darwin callback bridge from action block. (…
…project-chip#23553) We have some callback bridge action blocks that need access to the bridge itself. Since the action block was queued to run on a different thread from inside the bridge constructor, it could race with the bridge constructor finishing execution, leading to unexpected behavior (including possibly destruction of the bridge before its constructor finishes executing. Switch to running the action block after the bridge is constructed.
- Loading branch information
1 parent
fb865cc
commit 1ff789e
Showing
8 changed files
with
32,554 additions
and
42,206 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
Oops, something went wrong.