last world draw shouldn't restore old draw; Closes PR 11994
This commit is contained in:
parent
52825c68a1
commit
b00b2e318a
|
@ -251,10 +251,8 @@
|
|||
(begin
|
||||
(define/public (name arg ...)
|
||||
(define (last-draw)
|
||||
(define draw0 draw)
|
||||
(dynamic-wind (lambda () (set! draw last-picture))
|
||||
(lambda () (pdraw))
|
||||
(lambda () (set! draw draw0))))
|
||||
(set! draw last-picture)
|
||||
(pdraw))
|
||||
(queue-callback
|
||||
(lambda ()
|
||||
(with-handlers ([exn? (handler #t)])
|
||||
|
|
Loading…
Reference in New Issue
Block a user