Skip to content

Commit 34745e0

Browse files
authored
Fix blank status after a cpptools pause. (#10493)
1 parent 5e96765 commit 34745e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Extension/src/LanguageServer/ui_new.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,10 @@ export class NewUI implements UI {
207207
}
208208

209209
private setIsParsingWorkspacePaused(val: boolean): void {
210+
if (!this.isParsingFiles && !this.isParsingWorkspace) {
211+
// Ignore a pause change if no parsing is actually happening.
212+
return;
213+
}
210214
this.isParsingWorkspacePaused = val;
211215
this.browseEngineStatusBarItem.busy = !val || this.isParsingFiles;
212216
this.browseEngineStatusBarItem.text = "$(database)";

0 commit comments

Comments
 (0)