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

Ensure all permits are released before shutdown resolves #842

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

Sushisource
Copy link
Member

Needed for custom slot supplier work

@Sushisource Sushisource requested a review from a team as a code owner November 18, 2024 22:08
Comment on lines +737 to +738
// This makes sure we drop any permits that might be held inside the stream
self.rcvs.lock().await.inner = stream::empty().boxed();
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the real fix

@Sushisource Sushisource merged commit 9879b55 into master Nov 18, 2024
6 checks passed
@Sushisource Sushisource deleted the release-la-permit-shutdown branch November 18, 2024 22:32
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