mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-11 07:42:18 +00:00
192b76ddc6
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. |
||
---|---|---|
.. | ||
evdev | ||
in_common.c | ||
in_evdev.c | ||
in_event.c | ||
keys.c | ||
Makemodule.am | ||
old_keys.c |