MCPcopy
hub / github.com/Doorman11991/smallcode / stop

Method stop

src/lsp/client.js:116–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114 }
115
116 stop() {
117 if (this.process) {
118 try { this._request('shutdown', null); } catch {}
119 this.process.kill();
120 this.process = null;
121 }
122 this.initialized = false;
123 }
124
125 // Get diagnostics for a file
126 async getDiagnostics(filePath) {

Callers 2

startMethod · 0.95

Calls 2

_requestMethod · 0.95
killMethod · 0.80

Tested by

no test coverage detected