From 428f3f4c226caeb795502b19d9945342694d21b7 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Wed, 3 Aug 2016 17:00:23 +0200 Subject: Debugger: Do a hard shutdown when QML debugger is stopped 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 --- src/plugins/debugger/qml/qmlengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3