-
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.
Use a single CHIPDeviceController for all the views in the iOS app. (#…
…1004) We don't want to be reinitializing the CHIP stack as the user navigates through the app. This also fixes issues where we'd have multiple CHIPDeviceController instances live at the same time, which would bind to the same low-level socket and confuse the networking layer into delivering response notifications to the wrong CHIPDeviceController. The dealloc block for CHIPDeviceController was removed because now we always keep it alive in a static, so it would never run anyway.
- Loading branch information
1 parent
8b7a20b
commit e0c9ff6
Showing
4 changed files
with
59 additions
and
46 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