From ef686722032f02e124a95c7fd371af03131d01a6 Mon Sep 17 00:00:00 2001 From: Hans Dijkema Date: Tue, 19 May 2026 13:43:07 +0200 Subject: [PATCH] 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 --- audio-placed-player.rkt | 1 + 1 file changed, 1 insertion(+) diff --git a/audio-placed-player.rkt b/audio-placed-player.rkt index 2eb40f0..cb035ab 100644 --- a/audio-placed-player.rkt +++ b/audio-placed-player.rkt @@ -426,6 +426,7 @@ (cond ((eq? cmd 'quit) (do-rpc (stop-and-cleanup) + (set! player-state 'quit) (state "quit" evt 'force) '(quit))) ((eq? cmd 'init) (do-rpc