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

original commit: 107b349da073d82a1c75fd2b141fedc246aa4b2e
This commit is contained in:
Matthew Flatt 2011-03-03 05:48:43 -07:00
parent d8c8812f87
commit 3d9563e308

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)))))