MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / closeQuietly

Method closeQuietly

src/ui-server/api/session.ts:178–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176 }
177
178 private closeQuietly(): void {
179 const cg = this.cg;
180 this.cg = null;
181 this.identity = null;
182 if (!cg) return;
183 try {
184 cg.close();
185 } catch {
186 // A close that fails has nothing left to release — the process is either
187 // exiting or the file is already gone. Never let it fail a request.
188 }
189 }
190}

Callers 2

acquireMethod · 0.95
closeMethod · 0.95

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected