Commit 11201e43 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

try harder to kill unwanted child. mwahaha

parent 3945b967
......@@ -87,7 +87,10 @@ void ApplicationLauncher::stop()
{
if (m_currentMode == Gui) {
m_guiProcess->terminate();
m_guiProcess->waitForFinished();
if (!m_guiProcess->waitForFinished(1000)) { // This is blocking, so be fast.
m_guiProcess->kill();
m_guiProcess->waitForFinished();
}
} else {
m_consoleProcess->stop();
}
......
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