Commit 7b194208 authored by Fawzi Mohamed's avatar Fawzi Mohamed
Browse files

consoleprocess_unix: correct isRunning property



Correctly returns true when the stubSocket is connected but the
process has already returned

Change-Id: Ie687e4109254cbe3a3a60e95bf182ce3b835e73a
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@digia.com>
parent 356b85d4
......@@ -213,7 +213,8 @@ void ConsoleProcess::stop()
bool ConsoleProcess::isRunning() const
{
return d->m_process.state() != QProcess::NotRunning;
return d->m_process.state() != QProcess::NotRunning
|| (d->m_stubSocket && d->m_stubSocket->isOpen());
}
QString ConsoleProcess::stubServerListen()
......
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