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

Fix player based memory leak #1382

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Fix player based memory leak #1382

merged 1 commit into from
Aug 15, 2024

Conversation

Pablete1234
Copy link
Member

At the moment on player quit event players are removed from the map of Map<Player, TabEntry>, however also within monitor priority (and apparently afterwards) player is made to leave the team, which invalidates the player, which re-creates their tab entry, leaving it lingering forever and keeping a strong reference to the world

@Pablete1234 Pablete1234 added the bug Something isn't working label Aug 15, 2024
Signed-off-by: Pablo Herrera <[email protected]>
@Pablete1234 Pablete1234 merged commit 0f7a1ed into dev Aug 15, 2024
2 checks passed
@Pablete1234 Pablete1234 deleted the fix-world-leak branch August 15, 2024 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

2 participants