Commit aa898a53 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

fix waitForFinished logic

parent bb429a0e
......@@ -1332,8 +1332,7 @@ void GdbEngine::exitDebugger()
postCommand(_("-gdb-exit"), CB(handleExit));
// 20s can easily happen when loading webkit debug information
if (m_gdbProc.state() != QProcess::Running) {
if (!m_gdbProc.waitForFinished(20000)) {
debugMessage(_("FORCING TERMINATION: %1")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment