Commit 4039b4f
Fix race condition in notifyVisibilityChange
Add isRunning() check before sending notifications to the language
client to prevent "Client is not running" errors in test environments
where the client may not have fully started yet.
Co-authored-by: cklin <1418580+cklin@users.noreply.github.com>1 parent 3f544bf commit 4039b4f
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| |||
0 commit comments