Skip to content

Conversation

@achingbrain
Copy link
Member

@achingbrain achingbrain commented May 4, 2023

When a listener closes, remove it from the stored list of listeners.

This wasn't much of a problem before as listeners tended to be very long lived but circuit relay listeners get closed all the time so this fixes a now much more obvious memory leak.

When a listener closes, remove it from the stored list of listeners.

This wasn't much of a problem before as listeners tended to be very
long lived but circuit relay listeners get closed all the time so
this fixes a memory leak.
@achingbrain achingbrain requested a review from maschad May 4, 2023 10:37
Copy link
Member

@maschad maschad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a comment, LGTM otherwise

Copy link
Member

@maschad maschad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@achingbrain achingbrain merged commit c6367e0 into master May 5, 2023
@achingbrain achingbrain deleted the fix/remove-closed-listeners branch May 5, 2023 06:19
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