Skip to content

Conversation

@jwoertink
Copy link
Collaborator

Fixes #97

Basically if there was some exception that happened during the handler setup, it would leave all of the dead connections and the pinger (possibly) running. This just ensures those also get cleaned up. This was a small edge case, so not a critical memory leak, but still valid case.

…aned up properly to avoid a memory leak. Fixes #97
@jwoertink
Copy link
Collaborator Author

hmm... that's the second time I've had a random CI failure from out of memory when building ameba 🤔 Could that be because we're targeting such an old version of Crystal? I say "old", but 1.10 was released in Oct 23, so only 2 years old really...

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.

Possible memory leak with connections?

2 participants