Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
122
func
(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
Lock
Method · 0.65
Unlock
Method · 0.65
Tested by
no test coverage detected