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

Function terminate

valdi/vscode_debugger/src/targets/node/nodeLauncherBase.ts:166–172  ·  view source on GitHub ↗

* @inheritdoc

()

Source from the content-addressed store, hash-verified

164 * @inheritdoc
165 */
166 public async terminate(): Promise<void> {
167 if (this.program) {
168 await this.program.stop();
169 } else {
170 this.onProgramTerminated({ code: 0, killed: true });
171 }
172 }
173
174 /**
175 * @inheritdoc

Callers 3

~JniExceptionMethod · 0.50
fatalWithMessageFunction · 0.50

Calls 1

stopMethod · 0.65

Tested by

no test coverage detected