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

Method stop

daemon/src/entity/commands/task/openfrp.ts:31–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 }
30
31 public stop() {
32 try {
33 if (this.processWrapper?.exitCode() == null) {
34 this.processWrapper?.kill();
35 }
36 this.processWrapper = undefined;
37 } catch (error: any) {}
38 }
39}
40
41export default class OpenFrpTask implements ILifeCycleTask {

Callers

nothing calls this directly

Calls 2

exitCodeMethod · 0.80
killMethod · 0.45

Tested by

no test coverage detected