[squeak-dev] The Trunk: Graphics-mt.514.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Apr 27 16:31:35 UTC 2022
Marcel Taeumel uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-mt.514.mcz
==================== Summary ====================
Name: Graphics-mt.514
Author: mt
Time: 27 April 2022, 6:31:33.012285 pm
UUID: 9dde8efe-1988-4859-899b-371696b6deec
Ancestors: Graphics-mt.513
We must ensure that the GC does not collect our displayBits before we have set up new ones and communicated those to the VM.
=============== Diff against Graphics-mt.513 ===============
Item was changed:
----- Method: DisplayScreen>>restore (in category 'other') -----
restore
+ | priorBits |
+ priorBits := bits. "Must avoid to be GC'ed!!"
+ self setExtent: self class actualScreenSize depth: self nativeDepth.
+ self beDisplay.
+ priorBits := nil. "Documentation only."
- self setExtent: self class actualScreenSize depth: self nativeDepth.
- self beDisplay.
Project current ifNotNil: [:p| p displaySizeChanged].!
More information about the Squeak-dev
mailing list
|