MCPcopy Create free account
hub / github.com/bluejekyll/wasmtime-java / drop

Method drop

wasmtime-jni/src/ty/wasm_alloc.rs:221–227  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

219
220impl<'w> Drop for WasmSliceWrapper<'w> {
221 fn drop(&mut self) {
222 eprintln!("leaked wasm slice in WASM")
223
224 //if let Err(err) = self.wasm_alloc.dealloc_bytes(self.wasm_slice, self.store) {
225 // warn!("Error deallocating bytes: {}", err);
226 //}
227 }
228}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected