Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/appdevforall/CodeOnTheGo
/ stop
Function
stop
subprojects/llama.cpp/scripts/tool_bench.py:61–65 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
59
@contextmanager
60
def
scoped_server(sp: ServerProcess):
61
def
stop():
62
nonlocal sp
63
if
sp is not None:
64
sp.stop()
65
sp = None
# type: ignore
66
atexit.register(stop)
67
yield
sp
68
stop()
Callers
1
scoped_server
Function · 0.70
Calls
1
stop
Method · 0.45
Tested by
no test coverage detected