MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / destroy

Method destroy

daemon/src/entity/instance/instance.ts:468–473  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

466
467 // destroy this instance
468 destroy() {
469 if (this.process && this.process.pid) {
470 this.process.kill("SIGKILL");
471 }
472 this.process = undefined;
473 }
474
475 fullTime() {
476 const date = new Date();

Callers 1

releaseResourcesMethod · 0.45

Calls 1

killMethod · 0.45

Tested by

no test coverage detected