summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-08-15 17:13:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-08-15 17:13:45 +0300
commitbd351ba932b5954475895559b4f6ab485752bc1d (patch)
tree79e7f2d1db76733bdcfef67f229e69465a2602da /src/mir_app
parent0bfd173e521701e43a0e592db8a2c589e820c1e1 (diff)
attempt to debug #2031
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/chat_manager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mir_app/src/chat_manager.cpp b/src/mir_app/src/chat_manager.cpp
index 991fa6dbb2..5563bee8d3 100644
--- a/src/mir_app/src/chat_manager.cpp
+++ b/src/mir_app/src/chat_manager.cpp
@@ -844,7 +844,8 @@ static BOOL UM_RemoveUser(SESSION_INFO *si, const wchar_t *pszUID)
return FALSE;
auto &arKeys = si->getKeyList();
- arKeys.remove(pUser);
+ if (arKeys.remove(pUser) == -1)
+ DebugBreak();
auto &arUsers = si->getUserList();
for (auto &ui : arUsers) {