Skip to content

[Memory-opti:fix leak] fix net handler leak#130

Merged
Alexdoru merged 3 commits into
masterfrom
alex/net-leak
May 18, 2026
Merged

[Memory-opti:fix leak] fix net handler leak#130
Alexdoru merged 3 commits into
masterfrom
alex/net-leak

Conversation

@Alexdoru
Copy link
Copy Markdown
Member

@Alexdoru Alexdoru commented May 14, 2026

the nethandler keeps a reference to the thread it gets initialized on, so if it's the server thread it will leak the whole server, so I changed it to be created on the client thread during game startup

image

@Dream-Master Dream-Master added the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label May 16, 2026
@Alexdoru Alexdoru merged commit 22d703d into master May 18, 2026
1 check passed
@Alexdoru Alexdoru deleted the alex/net-leak branch May 18, 2026 16:35
@Dream-Master Dream-Master removed the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label May 18, 2026
@Alexdoru Alexdoru changed the title fix net handler leak [Memory-opti:fix leak] fix net handler leak May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants