put initial draw behind a queue-callback

svn: r16316
This commit is contained in:
John Clements 2009-10-13 23:00:14 +00:00
parent 3aae13cb60
commit a2ccd6147e

View File

@ -270,8 +270,10 @@
(stop! (if re-raise e (send world get)))))
(define/public (start!)
(queue-callback
(lambda ()
(when draw (show-canvas))
(when register (register-with-host)))
(when register (register-with-host)))))
(define/public (stop! w)
(set! live #f)