fix: force web reconnect on stalled close
This commit is contained in:
@@ -1361,6 +1361,11 @@ export async function monitorWebProvider(
|
||||
void closeListener().catch((err) => {
|
||||
logVerbose(`Close listener failed: ${formatError(err)}`);
|
||||
}); // Trigger reconnect
|
||||
listener.signalClose?.({
|
||||
status: 499,
|
||||
isLoggedOut: false,
|
||||
error: "watchdog-timeout",
|
||||
});
|
||||
}
|
||||
}
|
||||
}, WATCHDOG_CHECK_MS);
|
||||
|
||||
Reference in New Issue
Block a user