The source project of this merge request has been removed.
Avoid crash in KWin on Session leave
- hunk of original commit e8a1f8ec seems was lost during a94be708 merge, so restoring it again
- add missing check
Original Differential Revision: https://phabricator.kde.org/D28889
Blocks: !38 (merged)
Edited by Andrey Butirsky