diff options
author | Matt Bierner <matb@microsoft.com> | 2019-04-04 01:33:24 +0300 |
---|---|---|
committer | Matt Bierner <matb@microsoft.com> | 2019-04-04 01:33:24 +0300 |
commit | 4bd930155ba9b4de5ed649ce3b53a23ef8b3971b (patch) | |
tree | 61449be8ef62022886cb0a84a9d071b632024a5d | |
parent | 4d1cb56a5b88248b1e0f38b9980f4a1bc8a6fb1a (diff) |
Fixes #71688
-rw-r--r-- | src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts b/src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts index 8581f7b8975..2ace93d21b5 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( |