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

Remotely abort tasks on JoinHandle::abort #3934

Merged
merged 4 commits into from Jul 6, 2021
Merged

Conversation

Darksonn
Copy link
Contributor

@Darksonn Darksonn commented Jul 6, 2021

Fixes: #3929

@Darksonn Darksonn added A-tokio Area: The main tokio crate M-task Module: tokio/task labels Jul 6, 2021
@Darksonn Darksonn changed the base branch from tokio-1.0.x to tokio-1.5.x July 6, 2021 18:16
@carllerche carllerche merged commit e385108 into tokio-1.5.x Jul 6, 2021
@carllerche carllerche deleted the remote-abort branch July 6, 2021 20:41
benesch added a commit to benesch/materialize that referenced this pull request Jul 12, 2021
tokio-rs/tokio#3934 changed the semantics of JoinHandle::abort such that
you have to await the underlying task to actually deliver the abort. Do
so, to fix a stall in `test_tail_shutdown` caused by the connection not
actually getting aborted.
aljoscha pushed a commit to aljoscha/materialize that referenced this pull request Jul 21, 2021
tokio-rs/tokio#3934 changed the semantics of JoinHandle::abort such that
you have to await the underlying task to actually deliver the abort. Do
so, to fix a stall in `test_tail_shutdown` caused by the connection not
actually getting aborted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-task Module: tokio/task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants