mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Revert "Fix disposing context views" (#211238)
Revert "Fix disposing context views (#211219)"
This reverts commit e46e2ab21a
.
This commit is contained in:
parent
3bec854a46
commit
66c3c19192
|
@ -45,7 +45,7 @@ export class ContextViewHandler extends Disposable implements IContextViewProvid
|
|||
this.contextView.show(delegate);
|
||||
|
||||
const disposable = toDisposable(() => {
|
||||
if (this.currentViewDisposable.value === disposable) {
|
||||
if (this.currentViewDisposable === disposable) {
|
||||
this.hideContextView();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue