MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / shutdown

Method shutdown

src/codegraphcontext/server.py:866–870  ·  view source on GitHub ↗

Gracefully shuts down the server and its components.

(self)

Source from the content-addressed store, hash-verified

864 print(json.dumps(error_response), flush=True)
865
866 def shutdown(self):
867 """Gracefully shuts down the server and its components."""
868 debug_logger("Shutting down server...")
869 self.code_watcher.stop()
870 _teardown_db_manager(self.db_manager)

Callers 2

runMethod · 0.95
mcp_startFunction · 0.95

Calls 3

debug_loggerFunction · 0.90
_teardown_db_managerFunction · 0.85
stopMethod · 0.45

Tested by

no test coverage detected