diff options
author | George Hazan <ghazan@miranda.im> | 2020-01-30 20:18:37 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-01-30 20:18:46 +0300 |
commit | 4c281b28075dfa69d8cc2301b06492fbddb62f24 (patch) | |
tree | b788f37caaff5063fd36eecad191d2a5582be12c /src/mir_core | |
parent | a243c59835182e2a1fa91d9c7bd80defea88e4e8 (diff) |
LIST::remove + LIST::indexOf() combination removed with LIST::removeItem
Diffstat (limited to 'src/mir_core')
-rw-r--r-- | src/mir_core/src/threads.cpp | 2 |
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);
}
}
}
|