change player-state to (quote quit), if quit is called. This helps with the last state event, because the audio handle can already have been invalideted

This commit is contained in:
2026-05-19 13:43:07 +02:00
parent 360b9eea47
commit ef68672203
+1
View File
@@ -426,6 +426,7 @@
(cond (cond
((eq? cmd 'quit) (do-rpc ((eq? cmd 'quit) (do-rpc
(stop-and-cleanup) (stop-and-cleanup)
(set! player-state 'quit)
(state "quit" evt 'force) (state "quit" evt 'force)
'(quit))) '(quit)))
((eq? cmd 'init) (do-rpc ((eq? cmd 'init) (do-rpc