debug: cancel hover evaluate requests when hovering off dialog

Fixes https://github.com/microsoft/vscode/issues/91457
This commit is contained in:
Connor Peet
2020-11-05 12:22:14 -08:00
parent 451c2b61d3
commit 80a9ecff3e
2 changed files with 17 additions and 5 deletions
@@ -355,7 +355,7 @@ export class DebugEditorContribution implements IDebugEditorContribution {
}
private hideHoverWidget(): void {
if (!this.hideHoverScheduler.isScheduled() && this.hoverWidget.isVisible()) {
if (!this.hideHoverScheduler.isScheduled() && this.hoverWidget.willBeVisible()) {
this.hideHoverScheduler.schedule();
}
this.showHoverScheduler.cancel();