MCPcopy
hub / github.com/lightningpixel/modly / restart

Method restart

electron/main/python-bridge.ts:127–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125 }
126
127 async restart(): Promise<void> {
128 console.log('[PythonBridge] Restarting to free memory…')
129 this.intentionalStop = true
130 await this.stop()
131 this.intentionalStop = false
132 await this.start()
133 }
134
135 private emitTqdmLog(raw: string): void {
136 if (/INFO/.test(raw)) return

Callers

nothing calls this directly

Calls 2

stopMethod · 0.95
startMethod · 0.95

Tested by

no test coverage detected