summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-01-30 20:18:37 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-01-30 20:18:46 +0300
commit4c281b28075dfa69d8cc2301b06492fbddb62f24 (patch)
treeb788f37caaff5063fd36eecad191d2a5582be12c /src/mir_core
parenta243c59835182e2a1fa91d9c7bd80defea88e4e8 (diff)
LIST::remove + LIST::indexOf() combination removed with LIST::removeItem
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/src/threads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/src/threads.cpp b/src/mir_core/src/threads.cpp
index ad14b1cc9f..27e33dfa90 100644
--- a/src/mir_core/src/threads.cpp
+++ b/src/mir_core/src/threads.cpp
@@ -239,7 +239,7 @@ static void __cdecl KillObjectThreadsWorker(void* owner)
TerminateThread(it->hThread, 9999);
CloseHandle(it->hThread);
mir_free(it);
- threads.remove(T.indexOf(&it));
+ threads.removeItem(&it);
}
}
}