Skip to content

Commit 77de684

Browse files
runtime: mark runtime::Handle unwind-safe (#7230)
1 parent 83d550e commit 77de684

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tokio/src/runtime/handle.rs

+4
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,10 @@ impl Handle {
443443
}
444444
}
445445

446+
impl std::panic::UnwindSafe for Handle {}
447+
448+
impl std::panic::RefUnwindSafe for Handle {}
449+
446450
cfg_taskdump! {
447451
impl Handle {
448452
/// Captures a snapshot of the runtime's state.

0 commit comments

Comments
 (0)