mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
4bb549b68e
Use threading model `COINIT_APARTMENTTHREADED` on threads that own a window (the main client thread) and `COINIT_MULTITHREADED` on all other threads. Add assertions to ensure that the COM library is initialized successfully and only once per thread. References: - https://learn.microsoft.com/en-us/windows/win32/learnwin32/initializing-the-com-library - https://learn.microsoft.com/en-us/windows/win32/com/single-threaded-apartments - https://learn.microsoft.com/en-us/windows/win32/com/multithreaded-apartments Yet another attempt at solving #5744. |
||
---|---|---|
.. | ||
databases | ||
antibot.cpp | ||
antibot.h | ||
authmanager.cpp | ||
authmanager.h | ||
main.cpp | ||
name_ban.cpp | ||
name_ban.h | ||
register.cpp | ||
register.h | ||
server.cpp | ||
server.h | ||
server_logger.cpp | ||
server_logger.h | ||
sql_string_helpers.cpp | ||
sql_string_helpers.h | ||
upnp.cpp | ||
upnp.h |