MCPcopy
hub / github.com/phuryn/claude-usage / dispose

Method dispose

vscode-extension/src/server-manager.ts:134–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132 }
133
134 dispose(): void {
135 if (this.proc) {
136 try {
137 this.proc.kill();
138 } catch {
139 // Already gone — fine.
140 }
141 this.proc = undefined;
142 }
143 if (this._status !== "exited" && this._status !== "failed") {
144 this._status = "stopped";
145 }
146 }
147}
148
149function delay(ms: number): Promise<void> {

Callers 2

doStartupMethod · 0.95
startMethod · 0.95

Calls 1

killMethod · 0.65

Tested by

no test coverage detected