Commit 30c21397 authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlDebugger: Close connection already in shutdownInferior



Doing it in shutdownEngine was too late for the mixed debugger
case: The client has already exited in this case, leading to
error messages on the (system) console.

Change-Id: Id31214cb7a1bc9530c1da78b872531bc79894f3b
Reviewed-by: default avatarAurindam Jana <aurindam.jana@nokia.com>
parent 32cb2458
...@@ -628,14 +628,13 @@ void QmlEngine::shutdownInferior() ...@@ -628,14 +628,13 @@ void QmlEngine::shutdownInferior()
resetLocation(); resetLocation();
} }
stopApplicationLauncher(); stopApplicationLauncher();
closeConnection();
notifyInferiorShutdownOk(); notifyInferiorShutdownOk();
} }
void QmlEngine::shutdownEngine() void QmlEngine::shutdownEngine()
{ {
closeConnection();
// double check (ill engine?): // double check (ill engine?):
stopApplicationLauncher(); stopApplicationLauncher();
......
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