Visitar URL original
Remotely abort tasks on JoinHandle::abort by Darksonn · Pull Request #3934 · tokio-rs/tokio · GitHub
Skip to content

Remotely abort tasks on JoinHandle::abort - #3934

Merged
carllerche merged 4 commits into
tokio-1.5.xfrom
remote-abort
Jul 6, 2021
Merged

carllerche merged 4 commits into
tokio-1.5.xfrom
remote-abort

Conversation

@Darksonn

@Darksonn Darksonn commented Jul 6, 2021

Copy link
Copy Markdown
Member

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.

2 participants