MCPcopy
hub / github.com/mudler/LocalAI / Free

Method Free

backend/go/ced/goced.go:122–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120}
121
122func (c *Ced) Free() error {
123 c.engineMu.Lock()
124 defer c.engineMu.Unlock()
125 if c.ctxPtr != 0 {
126 CppFree(c.ctxPtr)
127 c.ctxPtr = 0
128 }
129 return nil
130}

Callers

nothing calls this directly

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected