Skip to content

Fix crash on hyprland

Nate Graham requested to merge work/cherry-pick-de434550 into Plasma/6.0

In policykitlistener.cpp, we check to see if m_session is null. Regardless of whether it was or wasn't, we later call m_session.data()->deleteLater(), which explodes if it was.

Only do this if it was not null.

BUG: 485407 FIXED-IN: 6.1

(cherry picked from commit de434550)

Merge request reports