From 8aafdf86e0f5c8f05a08e4db76fafe8911a8f622 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Fri, 14 Mar 2025 14:23:32 +0100 Subject: [PATCH] RunControl: Don't continue to run when the device is missing In case when ports gatherer is used. This fixes the crash in QmlProfilerToolTest". Amends cf8d10877376b930e57a6a3b056446a4c9de99a6 Change-Id: I94a9124a4004d0b6fa7143f7339d8232a0c88467 Reviewed-by: hjk --- src/plugins/projectexplorer/runcontrol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/runcontrol.cpp b/src/plugins/projectexplorer/runcontrol.cpp index c345afc82a6..d2ce723f6fc 100644 --- a/src/plugins/projectexplorer/runcontrol.cpp +++ b/src/plugins/projectexplorer/runcontrol.cpp @@ -594,7 +594,7 @@ void RunControlPrivate::startPortsGathererIfNeededAndContinueStart() return; } - QTC_ASSERT(device, continueStart(); return); + QTC_ASSERT(device, initiateStop(); return); const Storage portsStorage;