提交 5994f5f9 编写于 作者: M Matt Bierner

Fix onDidChangeActiveWeview not getting fired when switching away from webviews

上级 47ec334e
......@@ -148,10 +148,7 @@ export class ExtHostWebviews implements ExtHostWebviewsShape {
}
$onDidChangeActiveWeview(handle: WebviewHandle | undefined): void {
const webview = this.getWebview(handle);
if (webview) {
this._onDidChangeActiveWebview.fire(webview);
}
this._onDidChangeActiveWebview.fire(this.getWebview(handle));
}
$onDidDisposeWeview(handle: WebviewHandle): Thenable<void> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册