Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crashes when DeviceCommissioner is shut down. (project-chip#22245)
There are two fixes here: 1) Ensure that DeviceCommissioner::Shutdown properly cleans up mDeviceBeingCommissioned so we don't end up with it being a dangling pointer. 2) Ensure that DeviceCommissioner::CommissioningStageComplete doesn't try to derefence a null mDeviceBeingCommissioned (which indicates something has already stopped the commissioning process). Fixes project-chip#22243
- Loading branch information