mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
Merge pull request #121396 from limitedmage/suggestrace
Fix race condition in showing and hiding suggestWidget
This commit is contained in:
commit
cc778d679f
|
@ -440,6 +440,7 @@ export class SuggestWidget implements IDisposable {
|
|||
this._contentWidget.hide();
|
||||
this._ctxSuggestWidgetVisible.reset();
|
||||
this._ctxSuggestWidgetMultipleSuggestions.reset();
|
||||
this._showTimeout.cancel();
|
||||
this.element.domNode.classList.remove('visible');
|
||||
this._list.splice(0, this._list.length);
|
||||
this._focusedItem = undefined;
|
||||
|
|
Loading…
Reference in a new issue