Skip to content

fix(jmux-proxy): properly cancel proxy task#327

Merged
Benoît Cortier (CBenoit) merged 1 commit intomasterfrom
DGW-54
Sep 20, 2022
Merged

fix(jmux-proxy): properly cancel proxy task#327
Benoît Cortier (CBenoit) merged 1 commit intomasterfrom
DGW-54

Conversation

@CBenoit
Copy link
Copy Markdown
Member

Previously, JMUX proxy task wasn't properly shut down because tokio tasks are detached by default (similar to std::thread::spawn). This adds a helper wrapper to explicitely specify whether a task should be joined or detached.

Issue: DGW-54

Previously, JMUX proxy task wasn't properly shut down because tokio
tasks are detached by default (similar to `std::thread::spawn`). This
adds a helper wrapper to explicitely specify whether a task should be
joined or detached.

Issue: DGW-54
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants