mirror of
https://github.com/KDE/konsole.git
synced 2026-05-07 14:16:40 -04:00
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:
@@ -353,6 +353,9 @@ void SessionManager::sessionTerminated(QObject* sessionObject)
|
||||
Q_ASSERT( session );
|
||||
|
||||
_sessions.removeAll(session);
|
||||
_sessionProfiles.remove(session);
|
||||
_sessionRuntimeProfiles.remove(session);
|
||||
|
||||
session->deleteLater();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user