提交 6493b8dc 编写于 作者: M Matt Bierner

Make sure active is set to false when webviews are disposed

上级 72c8590b
......@@ -65,6 +65,8 @@ export class Preview extends Disposable {
}));
this._register(webviewEditor.onDidDispose(() => {
this._isWebviewDispose = true;
this._active = false;
if (this._active) {
this.sizeStatusBarEntry.hide();
this.zoomStatusBarEntry.hide();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册