RunControl: Add assert when device is nullptr

Amends cf8d108773

Change-Id: Ic9d947fb038e3e063cb7c2a6c740829252bf4cc7
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2025-01-16 12:08:27 +01:00
parent 8659d1eb73
commit 4c5b9b1c1f

View File

@@ -596,6 +596,8 @@ void RunControlPrivate::startPortsGathererIfNeededAndContinueStart()
return;
}
QTC_ASSERT(device, continueStart(); return);
const Storage<PortsOutputData> portsStorage;
const auto onDone = [this, portsStorage] {