Commit Graph
6 Commits
Author SHA1 Message Date
Alexdoru ec610dc876 Fix world client memory leaks caused by block renderers (#88)
* make threadlocals final

* minor code fixes

* fix custom block renderers leaking world

* remove now useless threadlocal cleaning

* fix memory leak from rendererOld by just deleting the field

* fix ThreadLocals to work on dedicated server
2026-04-20 11:45:05 +02:00
DarkShadow44 40144a0fa5 Make rendering blocks thread safe with Angelica (#65) 2025-09-05 09:48:11 +02:00
Pelotrio ea103bcc80 Remove static keyword from render block variables
The static keyword was removed from several instances of RenderBlocksCTM and RenderBlocksCTMFullbright variables in various SubmapManager classes and ChiselController class. This was done to fix a potential memory leak issue where these static objects could persist in memory even when they're no longer needed. Also, related to this change, the onWorldUnload method that used to clear static reference of RenderBlocksCTMFullbright has been removed from ChiselController.
2023-11-16 13:52:58 +01:00
Pelotrio 966fad56ca Clear render block instances on world unload to not leak the world 2023-11-10 18:11:53 -08:00
serenibyss 834beb5ac8 humongous spotless apply to make CI happy 2023-08-18 03:10:44 -05:00
Jimbno 03c60ef024 Update SubmapManagerSpecialMaterial.java
hopefully this does it
2023-04-24 21:44:22 +02:00