put initial draw behind a queue-callback
svn: r16316
This commit is contained in:
parent
3aae13cb60
commit
a2ccd6147e
|
@ -270,8 +270,10 @@
|
||||||
(stop! (if re-raise e (send world get)))))
|
(stop! (if re-raise e (send world get)))))
|
||||||
|
|
||||||
(define/public (start!)
|
(define/public (start!)
|
||||||
|
(queue-callback
|
||||||
|
(lambda ()
|
||||||
(when draw (show-canvas))
|
(when draw (show-canvas))
|
||||||
(when register (register-with-host)))
|
(when register (register-with-host)))))
|
||||||
|
|
||||||
(define/public (stop! w)
|
(define/public (stop! w)
|
||||||
(set! live #f)
|
(set! live #f)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user