We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afad311 commit c11b1b6Copy full SHA for c11b1b6
src/vs/workbench/contrib/chat/browser/chatQuotasService.ts
@@ -239,7 +239,7 @@ export class ChatQuotasStatusBarEntry extends Disposable implements IWorkbenchCo
239
) {
240
super();
241
242
- this._register(this.chatQuotasService.onDidChangeQuotas(() => this.updateStatusbarEntry()));
+ this._register(Event.runAndSubscribe(this.chatQuotasService.onDidChangeQuotas, () => this.updateStatusbarEntry()));
243
}
244
245
private updateStatusbarEntry(): void {
0 commit comments