From 4bd930155ba9b4de5ed649ce3b53a23ef8b3971b Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Wed, 3 Apr 2019 15:33:24 -0700 Subject: [PATCH] Fixes #71688 --- .../contrib/webview/electron-browser/webviewEditorService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts b/src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts index 8581f7b8975d8..2ace93d21b542 100644 --- a/src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts +++ b/src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts @@ -220,7 +220,7 @@ export class WebviewEditorService implements IWebviewEditorService { // Revived webviews may not have an actively registered reviver but we still want to presist them // since a reviver should exist when it is actually needed. - return !(webview instanceof RevivedWebviewEditorInput); + return webview instanceof RevivedWebviewEditorInput; } private async tryRevive(