diff options
author | Alfred Reynolds <alfred@valvesoftware.com> | 2015-03-02 11:43:24 -0800 |
---|---|---|
committer | Alfred Reynolds <alfred@valvesoftware.com> | 2015-03-02 11:43:24 -0800 |
commit | 8f840757d77d097be7b161515fa2c22bf799bdd5 (patch) | |
tree | 0d9782a41cadcdf6deae2948b466b82a7539a5bc /include/SDL_stdinc.h | |
parent | 3382b8347e031e460de7203057b7a52d3a50e860 (diff) |
SDL
- fix crash on OSX when removing a device. If the remove happened due to the CFRunLoopRunInMode call in SDL_SYS_JoystickDetect then we would delete the device right away, before SDL_SYS_JoystickUpdate could clean it up. So move the CFRunLoopRunInMode to after the cleanup logic, preventing this case. This does mean that adds and removes of joysticks now take 1 extra frame to show up.
Diffstat (limited to 'include/SDL_stdinc.h')
0 files changed, 0 insertions, 0 deletions