Skip to content

(via govambam): Add stale handler guard to ws.onclose in lspClient.ts#5

Merged
macroscopeapp[bot] merged 1 commit intoreview-pr-1263from
macroscope/review-pr-1263
Feb 6, 2026
Merged

(via govambam): Add stale handler guard to ws.onclose in lspClient.ts#5
macroscopeapp[bot] merged 1 commit intoreview-pr-1263from
macroscope/review-pr-1263

Conversation

@macroscopeapp
Copy link

@macroscopeapp macroscopeapp bot commented Feb 6, 2026

Macroscope: Fix It For Me

Activity

Currently: Auto-merged f2faa21

Previously

Add stale WebSocket guard to ws.onclose to avoid resolving clientReadyPromise or stopping languageClient in lspClient.ts

Add an early return in initWebSocketAndStartClient ws.onclose that checks webSocket === ws before resolving clientReadyPromise and stopping/clearing languageClient in lspClient.ts.

📍Where to Start

Start in initWebSocketAndStartClient at the ws.onclose handler in lspClient.ts.


Macroscope summarized cc68ac0.

@macroscopeapp macroscopeapp bot merged commit f2faa21 into review-pr-1263 Feb 6, 2026
1 check passed
@macroscopeapp macroscopeapp bot deleted the macroscope/review-pr-1263 branch February 6, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant