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

Make server._background stop when dht destroyed #156

Merged
merged 2 commits into from
Jan 2, 2024

Conversation

HDegroote
Copy link
Contributor

This is a more conservative approach to the infinite loop in _background, to also make it stop if the underlying DHT got destroyed. This protects us from bugs in the lifecycle management resulting in an infinite loop, such as #155 and #153

@mafintosh mafintosh merged commit 5d2c8dc into main Jan 2, 2024
4 checks passed
@mafintosh mafintosh deleted the conservative-background branch January 2, 2024 17:04
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