mirror of
https://github.com/encounter/SDL.git
synced 2025-07-04 20:26:11 +00:00
This fixes a crash whereby SDL could crash on macOS/Darwin, if and when a USB game controller gets unplugged. SDL was not retaining a reference to the controller's OS/IOKit-provided 'device object', and was capable of trying to use it, after a device was hot-unplugged.