Fix disposing context views (#211219)

fix #211096
This commit is contained in:
Benjamin Christopher Simmonds 2024-04-24 10:08:34 +02:00 committed by GitHub
parent ad0ef25421
commit e46e2ab21a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@ export class ContextViewHandler extends Disposable implements IContextViewProvid
this.contextView.show(delegate);
const disposable = toDisposable(() => {
if (this.currentViewDisposable === disposable) {
if (this.currentViewDisposable.value === disposable) {
this.hideContextView();
}
});