删除某模块全部登记(停整个模块时用)
(type: string)
| 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()) { |
no test coverage detected