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()
void DebuggerManager::sessionUnloaded()
{
return;
//FIXME: Breakview crashes on startup as there is
//cleanupViews();
cleanupViews();
if (m_engine)
m_engine->shutdown();
setStatus(DebuggerProcessNotReady);
......
Markdown is supported
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