Skip to content
Commit b2ebd8f2 authored by David Edmundson's avatar David Edmundson
Browse files

Don't leak DrKonqi dialog / fix crash on wayland

Summary:
When a QApplication is in it's destructor it calls window->destroy()
on all remaining QWindows. This deletes the platform window, whilst
keeping the real object alive. QtWayland doesn't like this.

Deleting the dialog fixes the issue. The deleteLater is fine because
QCoreApplication teardown is magic.

Test Plan: crashTest

Reviewers: #plasma, sitter

Reviewed By: sitter

Subscribers: anthonyfieroni, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D28692
parent 1da2c673
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