Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
fix: unwatch deleted projects to prevent zombie reindex
Gol3vka3b93827fe2fa
diff --git a/src/mcp/mcp.c b/src/mcp/mcp.cindex 368d73f3e..6251a03f3 100644--- a/src/mcp/mcp.c+++ b/src/mcp/mcp.c@@ -1857,6 +1857,11 @@ static char *handle_delete_project(cbm_mcp_server_t *srv, const char *args) {}cbm_pipeline_unlock();++ if (srv->watcher) {+ cbm_watcher_unwatch(srv->watcher, name);+ }+cbm_mem_collect(); /* return freed pages to OS after closing database */yyjson_mut_doc *doc = yyjson_mut_doc_new(NULL);