MCPcopy Create free account
hub / github.com/Snapchat/Valdi / _stopServer

Function _stopServer

valdi/vscode_debugger/src/targets/valdi/nodeLauncherBase.ts:355–361  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

353 }
354
355 protected _stopServer() {
356 this.run?.server.close();
357 this.run = undefined;
358 this.bootloaderFile.value?.then(f => f.dispose());
359 this.bootloaderFile.forget();
360 this.closeAllConnections();
361 }
362
363 protected closeAllConnections() {
364 this.serverConnections.forEach(c => c.close());

Callers

nothing calls this directly

Calls 4

closeMethod · 0.65
thenMethod · 0.65
disposeMethod · 0.65
closeAllConnectionsMethod · 0.45

Tested by

no test coverage detected