mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-03 12:57:27 +00:00
A render recorded only the innermost system it was rendering, so a destroy called from the callback of a system rendered inside another system's callback was let through, and the outer render then used the destroyed rack. Each system now counts the renders it is in. A destroy first waits until no other thread holds the exclusive state, so a non-zero count can only come from the calling thread's own stack. Co-Authored-By: Claude Opus 5.5 <[email protected]>