fix(bridge): resolve websocket zombie connection and bounding memory leaks
This commit is contained in:
@@ -92,6 +92,7 @@ export function resetPendingState(): void {
|
||||
* re-detection of WAITING steps whose pending was lost during disconnect.
|
||||
*/
|
||||
export function resetPendingStateForReconnect(): void {
|
||||
if (!ctx) return; // Prevent startup race conditions
|
||||
ctx.lastPendingStepIndex = -1;
|
||||
ctx.stallProbed = false;
|
||||
ctx.sawRunningAfterPending = false;
|
||||
|
||||
Reference in New Issue
Block a user