Debugger: Avoid a soft assert on QmlEngine shutdown

Change-Id: Id26b41e878ed2b8b20099b62ed1c122966165665
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2024-03-11 14:33:31 +01:00
parent 9934a9cafa
commit 68347c9c9b
2 changed files with 17 additions and 7 deletions

View File

@@ -1438,6 +1438,9 @@ void DebuggerEnginePrivate::updateState()
return;
QTC_ASSERT(m_threadLabel, return);
if (m_isDying)
return;
const DebuggerState state = m_state;
const bool companionPreventsAction = m_engine->companionPreventsActions();