mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 00:52:28 +02:00
The forward transition cache in Shape uses WeakPtr<Shape> to learn when a cached transition has been garbage collected. When running in zombification mode, we have to explicitly revoke any outstanding WeakPtrs to a Shape when it becomes a zombie. That ensures that it gets pruned from transition caches.
7.1 KiB
7.1 KiB