Skip to content

Commit

Permalink
runtime: make Runtime unwind safe (#6189)
Browse files Browse the repository at this point in the history
  • Loading branch information
fzyzcjy authored Dec 4, 2023
1 parent 3ac4cfb commit ed4f766
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tokio/src/runtime/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,10 @@ impl Drop for Runtime {
}
}

impl std::panic::UnwindSafe for Runtime {}

impl std::panic::RefUnwindSafe for Runtime {}

cfg_metrics! {
impl Runtime {
/// TODO
Expand Down

0 comments on commit ed4f766

Please sign in to comment.