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 shutdown bug in #412 #422

Merged
merged 3 commits into from
Apr 13, 2023
Merged

Fix shutdown bug in #412 #422

merged 3 commits into from
Apr 13, 2023

Conversation

hannahhoward
Copy link
Collaborator

@hannahhoward hannahhoward commented Apr 8, 2023

Goals

This resolves the problem created by #412, without reverting the change that created a memory error.

Essentially the problem is the queue is shut down without being removed from the peer manager, which continues to send it messages, that have no effect. This change adds a hook so that the queue itself can notify the peer manager it's been shutdown.

@gammazero gammazero merged commit 3f2fadb into main Apr 13, 2023
@gammazero gammazero deleted the feat/shutdown-fix branch April 13, 2023 16:59
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.

2 participants