Windows play-sound: use the right custodian registration
Otherwise, a GC tends to terminate the sound.
This commit is contained in:
parent
76c305852b
commit
8ae077c22a
|
@ -53,7 +53,7 @@
|
|||
(call-as-atomic
|
||||
(lambda ()
|
||||
(mci-send "open \"~a\" alias ~a" (simplify-path file) id)
|
||||
(register-finalizer-and-custodian-shutdown
|
||||
(register-custodian-shutdown
|
||||
id
|
||||
(lambda (id)
|
||||
(mci-send "close ~a" id))
|
||||
|
|
Loading…
Reference in New Issue
Block a user