debugger: handle shutting down engines from SnapshotWindow <Del> or context menu

This commit is contained in:
hjk
2010-07-20 18:06:34 +02:00
parent cc131beb61
commit 8d54298c8e
6 changed files with 21 additions and 38 deletions

View File

@@ -1411,7 +1411,7 @@ void DebuggerEngine::quitDebugger()
showMessage("QUIT DEBUGGER REQUESTED");
d->m_targetState = DebuggerFinished;
if (state() == InferiorStopOk) {
d->doShutdownInferior();
d->queueShutdownInferior();
} else if (state() == InferiorRunOk) {
d->doInterruptInferior();
} else {