-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Avoid crash in reporting::Engine::ScheduleRun() #13093
Conversation
#### Problem `reporting::Engine::ScheduleRun()` crashes if invoked after `SessionManager` has shut down. #### Change overview Check pointers. #### Testing Verified using pending PR project-chip#13060 with ``` server start server stop exit ``` which crashes without this change.
PR #13093: Size comparison from 59dd330 to 782b361 Increases (5 builds for efr32, linux, p6)
Decreases (2 builds for esp32, telink)
Full report (31 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess, but what's calling ScheduleRun so late?
It's via |
Problem
reporting::Engine::ScheduleRun()
crashes if invoked afterSessionManager
has shut down.Change overview
Check pointers.
Testing
Verified using pending PR #13060 with
which crashes without this change.