cocoa: fix `play-sound' handling of async flag

This commit is contained in:
Matthew Flatt 2011-03-03 05:48:43 -07:00
parent 4afd36c9fd
commit 107b349da0

View File

@ -30,7 +30,7 @@
(tellv s retain) ; don't use `retain', because we dont' want auto-release
(tellv s play)
(if async?
#t
(begin
(semaphore-wait sema)
(get-ivar s result))
#t)))
(get-ivar s result)))))