MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / drop

Method drop

compiler/src/main/mod.rs:127–129  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

125
126impl Drop for VmGuard {
127 fn drop(&mut self) {
128 with_runtime(|rt| rt.current_vm = None);
129 }
130}
131
132pub(super) fn with_vm<R>(f: impl FnOnce(&mut VM<'static>) -> R) -> Option<R> {

Callers

nothing calls this directly

Calls 1

with_runtimeFunction · 0.85

Tested by

no test coverage detected