mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-04 00:17:02 +00:00
fix: stop untracked CLIProxy installs safely
This commit is contained in:
@@ -51,8 +51,8 @@ export async function installDashboardCliproxyVersion(
|
||||
const backendLabel = backend === 'plus' ? 'CLIProxy Plus' : 'CLIProxy';
|
||||
const shouldRestoreService = await wasProxyRunning(deps);
|
||||
|
||||
// The installer owns the stop-and-replace lifecycle: it stops a running proxy
|
||||
// and waits for the port to free before swapping the binary.
|
||||
// The installer owns the stop-and-replace lifecycle, including best-effort
|
||||
// shutdown for tracked and untracked proxies before swapping the binary.
|
||||
await deps.installCliproxyVersion(version, true, backend);
|
||||
|
||||
if (!shouldRestoreService) {
|
||||
|
||||
Reference in New Issue
Block a user