mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-19 02:26:48 +00:00
The script engine's copies of property trees are keyed by the address of the tree. Four tests pin what keeps that sound: later snapshots share one copy; a freed tree's entry holds its allocation until the next use drops it, so a tree made at the same address never gets the old copy; an entry made from another tree is not returned; and the map does not grow with trees that are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyCfwzyRXj4VfQAVVdv