提交 698382ac 编写于 作者: M Martin Aeschlimann

Cannot set property 'theme' of null. Fixes #32385

上级 a7fcaffc
...@@ -110,7 +110,7 @@ export class ReleaseNotesEditor extends WebviewEditor { ...@@ -110,7 +110,7 @@ export class ReleaseNotesEditor extends WebviewEditor {
this._webview.onDidScroll(event => { this._webview.onDidScroll(event => {
this.scrollYPercentage = event.scrollYPercentage; this.scrollYPercentage = event.scrollYPercentage;
}, null, this.contentDisposables); }, null, this.contentDisposables);
this.themeService.onThemeChange(this.onThemeChange, null, this.contentDisposables); this.themeService.onThemeChange(this.onThemeChange, this, this.contentDisposables);
this.contentDisposables.push(this._webview); this.contentDisposables.push(this._webview);
this.contentDisposables.push(toDisposable(() => this._webview = null)); this.contentDisposables.push(toDisposable(() => this._webview = null));
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册