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

Method clear

crates/wasmtime/src/runtime/instance.rs:686–692  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

684
685 #[cfg(feature = "component-model")]
686 pub(crate) fn clear(&mut self) {
687 self.functions.clear();
688 self.tables.clear();
689 self.memories.clear();
690 self.globals.clear();
691 self.tags.clear();
692 }
693
694 fn push(&mut self, item: &Extern, store: &mut StoreOpaque) -> Result<(), OutOfMemory> {
695 match item {

Callers 4

poll_consumeMethod · 0.45
parent_processFunction · 0.45
computeMethod · 0.45
compile_with_inliningMethod · 0.45

Calls

no outgoing calls

Tested by 1

parent_processFunction · 0.36