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(YIELD_TO_EXECUTOR_IF_READY_ON_FIRST_POLL): it always yieled #38

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

problame
Copy link
Collaborator

It always yielded, even at higher poll count.

Found while fixing #37

@problame problame merged commit 88a29e1 into main Jan 31, 2024
3 checks passed
@problame problame deleted the problame/fix-iss-37/1 branch January 31, 2024 21:21
problame added a commit that referenced this pull request Jan 31, 2024
…anic (#39)

Before this PR, dropping an operation future while it's in the
`tokio::yield_now` would cause a panic.

This PR contains two commits: the first one reproduces the issue in a
test.
The second one fixes the issue and repurposes the reproducer as a
regression test.

Stacked atop #38

fixes #37
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