Commit 1594cd1a authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Kill process ourselves

parent 5e535e83
......@@ -91,6 +91,11 @@ KateProjectInfoViewCodeAnalysis::KateProjectInfoViewCodeAnalysis(KateProjectPlug
KateProjectInfoViewCodeAnalysis::~KateProjectInfoViewCodeAnalysis()
{
if (m_analyzer && m_analyzer->state() != QProcess::NotRunning) {
m_analyzer->kill();
m_analyzer->blockSignals(true);
m_analyzer->waitForFinished();
}
delete m_analyzer;
}
......
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