fix(hopper): allow restart after verified owned-provider shutdown

Co-authored-by: YouWish <29498139+Y0UW1SH@users.noreply.github.com>
This commit is contained in:
You Wish
2026-10-10 02:12:33 +08:00
committed by GitHub
parent b1e85ad711
commit 1c123493a2
6 changed files with 513 additions and 97 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ const stopProcess = async (
input.logger.info(diagnostic, "Owned Hopper launcher shutdown completed");
if (stopped.status !== "incomplete") {
if (
input.resources.launch?.shutdownMode === "process-cleanup" &&
input.resources.launch?.providerLifetime === "launcher-process" &&
stopped.status !== "not-owned"
)
input.resources.shutdownConfirmed = true;