debugger: InferiorUnrunnable is an acceptable state at exitDebugger() time

This commit is contained in:
hjk
2011-02-15 12:03:37 +01:00
parent 8d997a2fd2
commit cfbf853dae

View File

@@ -1424,7 +1424,8 @@ void DebuggerEngine::detachDebugger()
void DebuggerEngine::exitDebugger()
{
QTC_ASSERT(d->m_state == InferiorStopOk, qDebug() << d->m_state);
QTC_ASSERT(d->m_state == InferiorStopOk || d->m_state == InferiorUnrunnable,
qDebug() << d->m_state);
d->queueShutdownInferior();
}