MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime-go / Close

Method Close

error.go:50–58  ·  view source on GitHub ↗

Close will deallocate this error's state explicitly. For more information see the documentation for engine.Close()

()

Source from the content-addressed store, hash-verified

48//
49// For more information see the documentation for engine.Close()
50func (e *Error) Close() {
51 if e._ptr == nil {
52 return
53 }
54 runtime.SetFinalizer(e, nil)
55 C.wasmtime_error_delete(e._ptr)
56 e._ptr = nil
57
58}

Callers 1

mkErrorFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected