Commit 881a6749261ab8c3600d3e144078e565cd23572f

Cameron Gutman 2021-11-18T19:58:04

rawinput: Only access SDL_RAWINPUT_mutex if initialized We can also ditch the lock in RAWINPUT_JoystickQuit() now that the joystick subsystem quits drivers in reverse order. There's no chance of a racing call to RAWINPUT_WindowProc() anymore.