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: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
Kai Koehne
2012-03-06 09:21:27 +01:00
parent 32cb245883
commit 30c21397a6

View File

@@ -628,14 +628,13 @@ void QmlEngine::shutdownInferior()
resetLocation();
}
stopApplicationLauncher();
closeConnection();
notifyInferiorShutdownOk();
}
void QmlEngine::shutdownEngine()
{
closeConnection();
// double check (ill engine?):
stopApplicationLauncher();