Skip to content

Commit

Permalink
fix: Force exit launcher after quit called after 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
ci010 committed Nov 30, 2024
1 parent 7c3206e commit 9b9c7f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xmcl-runtime/app/LauncherApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ export class LauncherApp extends EventEmitter {
])
} finally {
this.host.quit()
setTimeout(10_000).then(() => {
this.host.exit(1)
})
}
}

Expand Down

0 comments on commit 9b9c7f9

Please sign in to comment.