MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / drop

Method drop

crates/wasmtime/src/runtime/store.rs:685–689  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

683impl Drop for AutoAssertNoGc<'_> {
684 #[inline]
685 fn drop(&mut self) {
686 if self.entered {
687 self.store.unwrap_gc_store_mut().gc_heap.exit_no_gc_scope();
688 }
689 }
690}
691
692/// Used to associate instances with the store.

Callers

nothing calls this directly

Calls 12

unwrap_gc_store_mutMethod · 0.80
deallocate_moduleMethod · 0.80
dropFunction · 0.50
exit_no_gc_scopeMethod · 0.45
allocatorMethod · 0.45
idMethod · 0.45
takeMethod · 0.45
deallocate_gc_heapMethod · 0.45
deallocate_memoryMethod · 0.45
iter_mutMethod · 0.45

Tested by

no test coverage detected