MCPcopy Index your code
hub / github.com/RustPython/RustPython / drop

Method drop

crates/vm/src/signal.rs:36–38  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

34
35impl Drop for SignalHandlerGuard {
36 fn drop(&mut self) {
37 IN_SIGNAL_HANDLER.with(|h| h.set(false));
38 }
39}
40
41#[cfg_attr(feature = "flame-it", flame)]

Callers

nothing calls this directly

Calls 2

withMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected