Files
effectcraft/crates/engine
arnav-hiwarkar 7c5b0da99b Close, New and Open Project free the closed project's memory
`Session::replace_project` (`crates/engine/src/lib.rs`), shared by Close, New, Open and the demo project:

- forgets the decoded frames and decoders of the closed project's footage, as well as the new project's (the existing #1070 behaviour);
- emits `Event::PurgeCaches` after the swap, so the viewers drop the RAM preview of the closed project. Its comp ids can also collide with the new project's.

Cache budgets and LRU order are unchanged; only the release path changes.
2026-10-21 21:37:31 +05:30
..