fix(rizin): retain rejected debugger shutdowns

This commit is contained in:
morluto committed 2026-10-27 12:06:14 +08:00
1 parent f89b03e738
commit 0793b6c3ca
2 files changed
+91 -37

No files matched your search

+4
View File
@@ -1186,6 +1186,10 @@ export class RizinDebugSessionManager {
platform: this.#platform,
}),
)
.catch((cause: unknown) => ({
status: "incomplete" as const,
reason: `Owned Rizin debugger shutdown failed: ${cause instanceof Error ? cause.message : String(cause)}`,
}))
.then((stopped) => {
if (stopped.status !== "incomplete") {
for (const failure of session.cleanupFailures)