diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-11 13:28:49 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-11 13:31:37 +0300 |
commit | 660454c5c6c6728ced601ea9274ae4300814cbd2 (patch) | |
tree | 9b3d99289ec3f3e3ebcfdb4783512aade6b9f4c9 /src | |
parent | 160ecb9f0607c52809201be769cb5739a8b39836 (diff) |
fix for closing sessions on the fly
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/chat_manager.cpp | 1 |
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;
}
|