fix: harden reminders and state handling
This commit is contained in:
@@ -87,6 +87,7 @@ export async function startGamesRegistry(): Promise<void> {
|
||||
await startGsiServer()
|
||||
log.info('[games] GSI server started on port 4701')
|
||||
} catch (err) {
|
||||
running = false
|
||||
log.error('[games] GSI server failed to start', err)
|
||||
return
|
||||
}
|
||||
@@ -119,7 +120,7 @@ export async function stopGamesRegistry(): Promise<void> {
|
||||
for (const id of Object.keys(providers) as GameId[]) {
|
||||
await providers[id].stop()
|
||||
}
|
||||
stopGsiServer()
|
||||
await stopGsiServer()
|
||||
}
|
||||
|
||||
export async function listGamesStatus(): Promise<GameStatus[]> {
|
||||
|
||||
Reference in New Issue
Block a user