quakeforge/libs
Bill Currie 097d44e270 [util] Handle double shutdown
If Sys_Shutdown gets called twice, particularly if a shutdown callback
hangs and the program is killed with INT or QUIT, shutdown_list would be
in an invalid state. Thus, get the required data (function pointer and
data pointer) from the list element, then unlink the element before
calling the function. This ensures that a reinvocation of Sys_Shutdown
continues from the next callback or ends cleanly. Fixes a segfault when
killing testsound while using the oss output (it hangs on shutdown).
2021-06-21 16:45:46 +09:00
..
audio [audio] Get testsound working again 2021-06-21 16:40:40 +09:00
client [build] Get make distcheck working again 2021-03-29 17:35:30 +09:00
console [ui] Create library for UI support code 2021-06-12 22:50:51 +09:00
entity [entity] Use _aligned_malloc etc for _WIN32 2021-04-02 21:02:14 +09:00
gamecode [gamecode] Make def type when indexing size 2021-06-13 22:13:47 +09:00
gib [util] Make developer flag names easier to manage 2021-03-29 22:38:47 +09:00
image [image] Correct disabled LoadPNG declaration 2021-06-13 10:05:51 +09:00
models Fix a bunch of issues found by gcc-11 2021-06-13 14:30:59 +09:00
net [net] Move found host caching into net_main 2021-04-04 18:38:14 +09:00
qw [util] Make sizebuf and msg sizes unisgned 2021-04-04 15:53:53 +09:00
ruamoko [ruamoko] Add bindings for exp() 2021-06-19 11:23:51 +09:00
ui [ui] Move txtbuffer and vrect tests to libs/ui 2021-06-13 14:29:46 +09:00
util [util] Handle double shutdown 2021-06-21 16:45:46 +09:00
video [ui] Create library for UI support code 2021-06-12 22:50:51 +09:00
Makemodule.am [ui] Create library for UI support code 2021-06-12 22:50:51 +09:00