QmlEngine: Stop connection timer if setup fails

Change-Id: Ibc2a0a311fb1b1af3fc7a6bf486010b31117475b
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
Kai Koehne
2012-05-10 12:20:13 +02:00
parent 6bfb167c3b
commit e6fb0179f3

View File

@@ -640,8 +640,6 @@ void QmlEngine::handleRemoteSetupFailed(const QString &message)
void QmlEngine::shutdownInferior()
{
m_noDebugOutputTimer.stop();
if (m_adapter.activeDebuggerClient())
m_adapter.activeDebuggerClient()->endSession();
@@ -656,7 +654,9 @@ void QmlEngine::shutdownInferior()
void QmlEngine::shutdownEngine()
{
// double check (ill engine?):
m_noDebugOutputTimer.stop();
// double check (ill engine?):
stopApplicationLauncher();
notifyEngineShutdownOk();