]> git.xonotic.org Git - xonotic/darkplaces.git/commit
cbuf: recycle node after it executes, clear commands on Host_Error()
authorbones_was_here <bones_was_here@xonotic.au>
Sat, 9 Dec 2023 07:49:56 +0000 (17:49 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Sat, 9 Dec 2023 10:13:36 +0000 (20:13 +1000)
commit7e1f7d12f57c064a6855d9850d28387ca6092c45
tree7216a486d30e209aa00539812ee10a9ca251fa38
parent2ebad737eea219e414ca6d912af13e9f92fa4019
cbuf: recycle node after it executes, clear commands on Host_Error()

This reverts 626658074c8dd5c2288becd836103e2efdb9b741 which looks like a
potentially racy or non-threadsafe approach, and instead prevents
problems by clearing the command buffers if Host_Error() is called and
doesn't shut down DP.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
cmd.c
cmd.h
host.c