Stop tracking the session/profile pair after a session is closed.

The patch(slightly modified) is from Gu Rui <chaos.proton@gmail.com>

REVIEW: 102507
This commit is contained in:
Jekyll Wu
2011-09-02 09:46:20 +08:00
parent a5eaba7f76
commit afea863b2a

View File

@@ -353,6 +353,9 @@ void SessionManager::sessionTerminated(QObject* sessionObject)
Q_ASSERT( session );
_sessions.removeAll(session);
_sessionProfiles.remove(session);
_sessionRuntimeProfiles.remove(session);
session->deleteLater();
}