Skip to content
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

Cleanup last damage cause on reset #1386

Merged
merged 1 commit into from
Aug 18, 2024
Merged

Cleanup last damage cause on reset #1386

merged 1 commit into from
Aug 18, 2024

Conversation

Pablete1234
Copy link
Member

This is also a cause for memory leaks, since an still online player can have a reference to a damage from an older player/world, and this can create quite a chain that keeps lots of stuff loaded. By cleaning this up on reset we cut down alot on the problematic nature of the lastDamageCause field.

Signed-off-by: Pablo Herrera <pabloherrerapalacio@gmail.com>
@Pablete1234 Pablete1234 merged commit 29078d1 into dev Aug 18, 2024
2 checks passed
@Pablete1234 Pablete1234 deleted the fix-mem-leaks branch August 18, 2024 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants