MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / drop

Method drop

crates/runtime/src/sim_std.rs:96–100  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

94
95impl Drop for SimulationThreadGuard {
96 fn drop(&mut self) {
97 IN_SIMULATION.with(|state| {
98 state.set(self.previous);
99 });
100 }
101}
102
103// Thread hook.

Callers

nothing calls this directly

Calls 2

withMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected