MCPcopy
hub / github.com/xpf0000/FlyEnv / delAll

Method delAll

src/main/core/ServiceProcess.ts:132–138  ·  view source on GitHub ↗

删除某模块全部登记(停整个模块时用)

(type: string)

Source from the content-addressed store, hash-verified

130
131 /** 删除某模块全部登记(停整个模块时用) */
132 delAll(type: string) {
133 if (!this.servicePID[type] || this.servicePID[type].length === 0) {
134 return
135 }
136 this.servicePID[type] = []
137 this.emitChange(type)
138 }
139
140 private async killAllPid() {
141 if (!isWindows()) {

Callers 1

stopAllServiceMethod · 0.80

Calls 1

emitChangeMethod · 0.95

Tested by

no test coverage detected