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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user