Commit 1e69bb66 authored by Christoph Cullmann's avatar Christoph Cullmann 🍨
Browse files

avoid crash on application exit

parent aed3e34d
Pipeline #235031 passed with stage
in 6 minutes and 28 seconds
......@@ -173,6 +173,9 @@ KateConsole::KateConsole(KateKonsolePlugin *plugin, KTextEditor::MainWindow *mw,
KateConsole::~KateConsole()
{
// we unplug our actions below, avoid that we trigger their usage
disconnect(qApp, &QApplication::focusChanged, this, &KateConsole::focusChanged);
m_mw->guiFactory()->removeClient(this);
if (m_part) {
disconnect(m_part, &KParts::ReadOnlyPart::destroyed, this, &KateConsole::slotDestroyed);
......
Supports Markdown
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