Commit ae331887 authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Fix segfault on session change

Kate segfaults sometimes if you switch sessions because these processes
were still running. So, ensure they are killed when we are destructing.
parent 7af8ed57
Pipeline #108467 passed with stage
in 3 minutes and 16 seconds
......@@ -187,6 +187,12 @@ KateGitBlamePluginView::KateGitBlamePluginView(KateGitBlamePlugin *plugin, KText
KateGitBlamePluginView::~KateGitBlamePluginView()
{
// ensure to kill, we segfault otherwise
m_blameInfoProc.kill();
m_blameInfoProc.waitForFinished();
m_showProc.kill();
m_showProc.waitForFinished();
m_mainWindow->guiFactory()->removeClient(this);
}
......
Markdown is supported
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