Skip to content

Conversation

@maminrayej
Copy link
Member

This PR documents and enforces the fact that the unhandled_panic option is only implemented for the current thread runtime, since it has caused confusion before: #6222.

@maminrayej maminrayej added A-tokio Area: The main tokio crate M-runtime Module: tokio/runtime labels Mar 17, 2024
Copy link
Member

@mox692 mox692 left a comment

Choose a reason for hiding this comment

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

Until a multi-thread version of unhandled_panic is implemented, this behavior looks reasonable to me.

@Darksonn Darksonn merged commit d51f168 into tokio-rs:master Mar 20, 2024
@maminrayej maminrayej deleted the clarify-unhandled-panic branch January 18, 2025 13:10
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-runtime Module: tokio/runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants