-
Notifications
You must be signed in to change notification settings - Fork 36.3k
Open
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityIssue identified as high-priority
Milestone
Description
| this._welcomeRenderScheduler = this._register(new RunOnceScheduler(() => this.renderWelcomeViewContentIfNeeded(), 10)); |
vscode/src/vs/workbench/contrib/chat/browser/chatWidget.ts
Lines 558 to 560 in afd4a5e
| this._chatSuggestNextScheduler = this._register( | |
| new RunOnceScheduler(() => this.renderChatSuggestNextWidget(), 20), | |
| ); |
This pattern of scheduling UI code on random timeouts has to stop. It seems to be a "fix"/"workaround" to prevent re-entrant calls from happening but that cannot be the solution.
//cc @aeschli @digitarald
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityIssue identified as high-priority