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

Method disable

crates/vm/src/gc_state.rs:211–213  ·  view source on GitHub ↗

Disable GC

(&self)

Source from the content-addressed store, hash-verified

209
210 /// Disable GC
211 pub fn disable(&self) {
212 self.enabled.store(false, Ordering::SeqCst);
213 }
214
215 /// Get debug flags
216 pub fn get_debug(&self) -> GcDebugFlags {

Callers 2

test_gc_enable_disableFunction · 0.45
disableFunction · 0.45

Calls 1

storeMethod · 0.45

Tested by 1

test_gc_enable_disableFunction · 0.36