[Maxwell]: Fix shaders compilation memory leak #2606

Merged
Shinmegumi merged 1 commit from maxwell-leak-fix into master 2025-10-01 01:21:13 +02:00

1 commit

Author SHA1 Message Date
Gamer64
401da9367a [Maxwell]: Memory Leak Fix
All checks were successful
eden-license / license-header (pull_request) Successful in 28s
Co-authored-by: collecting <collecting@citron-emu.org>

"The ObjectPool<Statement> was never being cleared after use. When compiling complex shaders, this would allocate gigabytes of memory, causing the emulator to run out of RAM and be killed by the operating system. This is a critical fix that prevents out-of-memory crashes on all operating systems when playing games with complex shaders."
2025-09-30 02:44:03 +02:00