summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/chat_manager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir_app/src/chat_manager.cpp b/src/mir_app/src/chat_manager.cpp
index 0f9024d306..b3ffd8fe09 100644
--- a/src/mir_app/src/chat_manager.cpp
+++ b/src/mir_app/src/chat_manager.cpp
@@ -122,6 +122,7 @@ int SM_RemoveSession(const wchar_t *pszID, const char *pszModule, bool removeCon
if (si == nullptr)
return FALSE;
+ g_arSessions.remove(si);
SM_FreeSession(si, removeContact);
return TRUE;
}