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.
This commit is contained in:
hjk
2009-08-13 16:46:24 +02:00
parent 365560c9c3
commit a981c5c985
+1 -3
View File
@@ -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);