quakeforge/libs
Bill Currie 192b76ddc6 [input] Remove closed device in correct place
Removing the device from the devices list after closing the device
could cause the device to be double-freed if something went wrong in the
device removal callback resulting in system shutdown which would then
close all open devices.

The device is removed from the list before the callback is called.

There's still a small opportunity for such in a multi-threaded
environment, but that would take device removal occurring at the same
time as the input system is shut down. Probably the responsibility of
the threaded environment rather than inputlib.
2021-09-25 16:43:03 +09:00
..
audio [win] Fix a pile of bitrot 2021-07-11 13:30:52 +09:00
client [scene] Rename libQFentity to libQFscene 2021-07-24 14:20:59 +09:00
console [console] Clean up key_menu input handling 2021-07-24 14:21:54 +09:00
gamecode [gamecode] Use a flag for format width 2021-09-25 13:24:48 +09:00
gib Do an audit of hunk mark usage 2021-07-29 11:43:27 +09:00
image Do an audit of hunk mark usage 2021-07-29 11:43:27 +09:00
input [input] Remove closed device in correct place 2021-09-25 16:43:03 +09:00
models [util] Make bsp_t counts size_t 2021-08-01 21:54:05 +09:00
net [util] Make hunk (optionally) thread-safe 2021-07-29 11:43:27 +09:00
qw [util] Make sizebuf and msg sizes unisgned 2021-04-04 15:53:53 +09:00
ruamoko [input,ruamoko,qwaq] Fix incorrect use of PR_RESMAP 2021-09-25 15:50:16 +09:00
scene [scene] Rename libQFentity to libQFscene 2021-07-24 14:20:59 +09:00
ui [ui] Add two view manipulation functions 2021-07-10 17:57:59 +09:00
util [util] Add functions to help convert external times 2021-08-27 12:10:05 +09:00
video [input] Give input drivers a private data pointer 2021-08-30 09:54:36 +09:00
Makemodule.am [scene] Rename libQFentity to libQFscene 2021-07-24 14:20:59 +09:00