[Notifications Engine] Guard "this"
ClosedPublic

Authored by broulik on Aug 6 2018, 2:05 PM.

Details

Summary

On teardown with the popup expanded, the cleanup handler might fire with us already having been deleted.

BUG: 397105
FIXED-IN: 5.12.7

Test Plan
  • plasmawindowed org.kde.plasma.networkmanagement no longer crashes on quit
  • Verified that NotificationInhibiton is still properly cleaned up when closing the popup in normal use (only after the GC kicks in, though)

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Aug 6 2018, 2:05 PM
Restricted Application added a project: Plasma. · View Herald TranscriptAug 6 2018, 2:05 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Aug 6 2018, 2:05 PM
jgrulich accepted this revision.Aug 6 2018, 2:13 PM

I can no longer reproduce the crash from bug 397105.

This revision is now accepted and ready to land.Aug 6 2018, 2:13 PM
This revision was automatically updated to reflect the committed changes.