We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e39a32a + 4039b4f commit 1c16fd1Copy full SHA for 1c16fd1
extensions/ql-vscode/src/language-support/language-client.ts
@@ -45,6 +45,10 @@ export class CodeQLLanguageClient extends LanguageClient {
45
}
46
47
notifyVisibilityChange(editors: readonly TextEditor[]) {
48
+ // Only send notification if the language client is running to avoid race conditions
49
+ if (!this.isRunning()) {
50
+ return;
51
+ }
52
const files = editors
53
.filter((e) => e.document.uri.scheme === "file")
54
.map((e) => e.document.uri.toString());
0 commit comments