-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Memory Leak of Client Player #556
Comments
The SpellSelectionManager and the SpellBarOverlay do not store a reference to ClientMagicData, nor does any class |
ClientMagicData stores spellSelectionManager which stores player |
That SpellSelectionManager is thrown away when the player exits the world |
I see, but that does not include dimension change or death. Both triggers player creation again. I would just not store player and replace player with |
OH, I forgot about |
Observed behaviour
Continuation of #549
Now it is holding on ClientMagicData on 3.4.5
Expected behaviour
No leak
Steps to reproduce
Same as old issue.
Server Type
Single Player
Crashlog
No response
Iron's Spells N Spellbooks version
3.4.5
Forge version
1.21.1 - 21.1.22
Other mods
No response
The text was updated successfully, but these errors were encountered: