SDL2/src
Sam Lantinga ebc2fb411f Fixed infinite loop shutting down WGI controllers
We are guaranteed that the lock will be held during shutdown, so if we are in InvokeRemoved(), it's because we're shutting down controllers and need to remove them from our internal list.

Fixes https://github.com/libsdl-org/SDL/issues/7016

(cherry picked from commit ac99db9fc8)
2023-01-08 09:35:55 -08:00
..
atomic Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
audio Android: make Detect devices common between aaudio and android driver. (#6828) 2022-12-18 12:08:24 +01:00
core windows: more HANDLE -> HMODULE changes. 2022-12-31 08:00:20 +03:00
cpuinfo Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
dynapi SDL_dynapi.c: LoadLibraryA() returns HMODULE. 2022-12-30 11:11:10 +03:00
events Fixed keyboard scancode mapping for parenthesis 2022-12-29 14:55:46 -08:00
file Clang-Tidy fixes (#6725) 2022-12-01 13:08:50 -08:00
filesystem Clang-Tidy fixes (#6725) 2022-12-01 13:08:50 -08:00
haptic Added support for clang thread-safety analysis 2022-12-14 09:29:19 -08:00
hidapi Added support for the ThrustMaster eSwap PRO Controller Xbox 2023-01-03 15:13:50 -08:00
joystick Fixed infinite loop shutting down WGI controllers 2023-01-08 09:35:55 -08:00
libm N3DS port (squashed) 2022-10-10 08:50:59 -07:00
loadso Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
locale Clang-Tidy fixes (#6725) 2022-12-01 13:08:50 -08:00
main Clang-Tidy fixes (#6725) 2022-12-01 13:08:50 -08:00
misc Clang-Tidy fixes (#6725) 2022-12-01 13:08:50 -08:00
power Clang-Tidy fixes (#6725) 2022-12-01 13:08:50 -08:00
render render/SDL_yuv_sw.c: fix build after commit d234f7a 2023-01-02 20:51:56 +03:00
sensor Added support for clang thread-safety analysis 2022-12-14 09:29:19 -08:00
stdlib Clang-Tidy fixes (#6725) 2022-12-01 13:08:50 -08:00
test Fixed build 2022-12-09 10:22:18 -08:00
thread windows: more HANDLE -> HMODULE changes. 2022-12-31 08:00:20 +03:00
timer Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
video wayland: Fallback to default cursor if chosen one wasn't found 2023-01-06 14:55:06 -08:00
SDL.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_assert.c Added support for clang thread-safety analysis 2022-12-14 09:29:19 -08:00
SDL_assert_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_dataqueue.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_dataqueue.h Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_error.c Clang-Tidy fixes (#6725) 2022-12-01 13:08:50 -08:00
SDL_error_c.h Removed the limit on the size of the SDL error message 2022-06-27 16:59:50 -07:00
SDL_guid.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_hints.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_hints_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_internal.h Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_list.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_list.h Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_log.c Added support for clang thread-safety analysis 2022-12-14 09:29:19 -08:00
SDL_log_c.h Added declaration of SDL_LogInit() and SDL_LogQuit() 2022-04-28 15:01:34 -07:00
SDL_utils.c Fixed declaration-after-statement warning 2022-07-18 07:31:23 -07:00
SDL_utils_c.h Fixed comment (thanks @pionere!) 2022-07-18 07:18:56 -07:00