I’m getting random crashes around the CachedImage’s visibleArea RectangleList. I think it’s because I’m calling repaint from a background thread without a message lock.
Is it supposed to be safe to call repaint from a background thread? If not, can we get an assert to check for the lock?
(internalRepaintUnchecked asserts for the lock when the heavyweight peer flag is set, but none otherwise)