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

Method Close

linker.go:40–48  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

38//
39// For more information see the documentation for engine.Close()
40func (l *Linker) Close() {
41 if l._ptr == nil {
42 return
43 }
44 runtime.SetFinalizer(l, nil)
45 C.wasmtime_linker_delete(l._ptr)
46 l._ptr = nil
47
48}
49
50// AllowShadowing configures whether names can be redefined after they've already been defined
51// in this linker.

Callers 4

TestLinkerFunction · 0.95
NewLinkerFunction · 0.95

Calls

no outgoing calls