stop is idempotent now
svn: r7085
This commit is contained in:
parent
2cb2eefd66
commit
39f6a4bc3a
|
@ -201,10 +201,13 @@
|
|||
void-or-true)
|
||||
|
||||
(define (endOfTime-java.lang.String-native this accs gets privates s)
|
||||
(define theCanvas ((hash-table-get accs 'theCanvas) this))
|
||||
(define _ (check-string s "endOfTime(String)" "first"))
|
||||
(message-box "end of time" (send s get-mzscheme-string))
|
||||
(send theCanvas stop)
|
||||
(define _ (check-string s "endOfTime(String)" "first"))
|
||||
(define t (send s get-mzscheme-string))
|
||||
(define theCanvas ((hash-table-get accs 'theCanvas) this))
|
||||
(parameterize ([current-eventspace (make-eventspace)])
|
||||
(message-box "end of world" (send s get-mzscheme-string)))
|
||||
(unless (null? theCanvas)
|
||||
(send theCanvas stop))
|
||||
#t)
|
||||
|
||||
(define (endOfWorld-java.lang.String-native this accs gets privates s)
|
||||
|
@ -212,6 +215,7 @@
|
|||
(define _ (check-string s "endOfWorld(String)" "first"))
|
||||
(parameterize ([current-eventspace (make-eventspace)])
|
||||
(message-box "end of world" (send s get-mzscheme-string)))
|
||||
(send theCanvas stop)
|
||||
(unless (null? theCanvas)
|
||||
(send theCanvas stop))
|
||||
this))
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user