Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix _InitChipStack() initialization order. (#11374)
#### Problem `ConfigurationMgr().Init()` indirectly uses the System layer, which has not yet been initialized, in its ‘fail-safe armed’ case. Fixes #5336 TestPlatformMgr occasionally crashes on Linux #### Change overview Initialize Configuration Manager after the System layer. #### Testing Confirmed on Linux that adding `fail-safe-armed=1` to `/tmp/chip_config.ini` reliably triggers the `TestPlatformMgr` crash on master, but not after this change. Relying on CI to confirm that there are no unexpected side effects of changing the initialization order. (There should be none, since System::Layer does not depend on ConfigurationMgr.)
- Loading branch information