-
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.
Stop calling the attribute change callback on the wrong thread in bri…
…dge-app. (#21230) A few changes here: 1. Stop trying to pass values to the attribute change callback, since those get ignored anyway. 2. Run the attribute change callback off a task on the Matter thread, instead of calling it directly from a different thread. 3. Change initial bridge setup to set state before setting change callbacks, so we won't try to notify changes at startup before the Matter stack is actually initialized. Fixes #21212
- Loading branch information
1 parent
ca69499
commit 1456210
Showing
2 changed files
with
61 additions
and
54 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