mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
runtime: mark runtime::Handle
unwind-safe (#7230)
This commit is contained in:
parent
83d550e511
commit
77de684ed9
@ -443,6 +443,10 @@ impl Handle {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl std::panic::UnwindSafe for Handle {}
|
||||||
|
|
||||||
|
impl std::panic::RefUnwindSafe for Handle {}
|
||||||
|
|
||||||
cfg_taskdump! {
|
cfg_taskdump! {
|
||||||
impl Handle {
|
impl Handle {
|
||||||
/// Captures a snapshot of the runtime's state.
|
/// Captures a snapshot of the runtime's state.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user