MCPcopy Index your code
hub / github.com/CodeGraphContext/CodeGraphContext / shutdown

Method shutdown

src/codegraphcontext/server.py:610–614  ·  view source on GitHub ↗

Gracefully shuts down the server and its components.

(self)

Source from the content-addressed store, hash-verified

608 print(json.dumps(error_response), flush=True)
609
610 def shutdown(self):
611 """Gracefully shuts down the server and its components."""
612 debug_logger("Shutting down server...")
613 self.code_watcher.stop()
614 self.db_manager.close_driver()

Callers 1

mcp_startFunction · 0.95

Calls 3

debug_loggerFunction · 0.90
stopMethod · 0.45
close_driverMethod · 0.45

Tested by

no test coverage detected