MCPcopy Create free account
hub / github.com/devld/go-drive / Dispose

Method Dispose

script/runtime.go:193–201  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191}
192
193func (v *VM) Dispose() error {
194 v.DisposeDisposables()
195
196 v.vmsMu.Lock()
197 defer v.vmsMu.Unlock()
198 delete(v.vms, v.o)
199 // nothing
200 return nil
201}
202
203type ObjectDisposable interface {
204 Dispose()

Callers 3

newPoolTestVMFunction · 0.95
newSharedStateTestVMFunction · 0.95

Calls 3

DisposeDisposablesMethod · 0.95
LockMethod · 0.65
UnlockMethod · 0.65

Tested by 3

newPoolTestVMFunction · 0.76
newSharedStateTestVMFunction · 0.76