aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-08-03 17:00:23 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-08-03 15:39:52 +0000
commit428f3f4c226caeb795502b19d9945342694d21b7 (patch)
treee6e39e5a801d27b4e8b5a6426dbd18f9b7be851f
parent1e8ffa20d0e3f9ca4c4aa668dc87ef59ff235bab (diff)
Debugger: Do a hard shutdown when QML debugger is stoppedv4.1.0-rc1
There is no point in trying to "gracefully" shutdown by waiting for the application to hit the next line of JavaScript. The application might never execute any more JavaScript. Change-Id: Id531a2b23ce9aa12462e308f29106f8cefa67092 Task-number: QTCREATORBUG-16709 Reviewed-by: hjk <hjk@qt.io>
-rw-r--r--src/plugins/debugger/qml/qmlengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp
index 270f75ab11..bbfe86037f 100644
--- a/src/plugins/debugger/qml/qmlengine.cpp
+++ b/src/plugins/debugger/qml/qmlengine.cpp
@@ -1081,7 +1081,7 @@ void QmlEngine::quitDebugger()
d->noDebugOutputTimer.stop();
d->automaticConnect = false;
d->retryOnConnectFail = false;
- DebuggerEngine::quitDebugger();
+ shutdownInferior();
}
void QmlEngine::disconnected()