skip clean-up of bitmap that isn't there

Backing-bitmap allocation might fail for a too-large window?
This commit is contained in:
Matthew Flatt 2015-10-29 07:42:05 -04:00
parent 35a288da6a
commit 746956a6ae

View File

@ -96,8 +96,9 @@
(set! retained-cr #f)
(internal-set-bitmap #f #t)
(super release-cr retained-cr)
(proc bm)
(release-backing-bitmap bm)))))
(when bm
(proc bm)
(release-backing-bitmap bm))))))
(define/public (start-backing-retained)
(as-entry