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

Method enable

crates/vm/src/gc_state.rs:206–208  ·  view source on GitHub ↗

Enable GC

(&self)

Source from the content-addressed store, hash-verified

204
205 /// Enable GC
206 pub fn enable(&self) {
207 self.enabled.store(true, Ordering::SeqCst);
208 }
209
210 /// Disable GC
211 pub fn disable(&self) {

Callers 2

test_gc_enable_disableFunction · 0.45
enableFunction · 0.45

Calls 1

storeMethod · 0.45

Tested by 1

test_gc_enable_disableFunction · 0.36