Commit a981c5c9 authored by hjk's avatar hjk
Browse files

debugger: shutdown debugger when switching sessions

The code was already there, but disabled as it led to a crash during
Creator startup due to a spurious "sessionUnload" emission.
parent 365560c9
...@@ -1048,9 +1048,7 @@ void DebuggerManager::sessionLoaded() ...@@ -1048,9 +1048,7 @@ void DebuggerManager::sessionLoaded()
void DebuggerManager::sessionUnloaded() void DebuggerManager::sessionUnloaded()
{ {
return; cleanupViews();
//FIXME: Breakview crashes on startup as there is
if (m_engine) if (m_engine)
m_engine->shutdown(); m_engine->shutdown();
setStatus(DebuggerProcessNotReady); setStatus(DebuggerProcessNotReady);
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