Skip to content
Commit 038b7e30 authored by Fushan Wen's avatar Fushan Wen Committed by Nate Graham
Browse files

kded/devicemonitor: Check BlueDevilDaemon exists when calling login1PrepareForSleep

It's possible that BlueDevilDaemon has been destroyed, but PrepareForSleep
is received before DeviceMonitor is destroyed, so a crash will happen. To prevent
the crash, add a check in login1PrepareForSleep to validate BlueDevilDaemon still exists.

BUG: 450195
FIXED-IN: 5.24.1


(cherry picked from commit fad0578a)
parent a105108a
Pipeline #137336 passed with stage
in 51 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment