Rename webviewOptions.keepAlive to retainContextWhenHidden to make it more clear what this option does

This commit is contained in:
Matt Bierner
2018-02-26 15:28:41 -08:00
parent 9b69b61eaf
commit 978beebd0a
2 changed files with 10 additions and 10 deletions

View File

@@ -186,7 +186,7 @@ class WebviewInput extends EditorInput {
public releaseWebview(owner: any) {
if (this._webviewOwner === owner) {
this._webviewOwner = undefined;
if (!this._options.keepAlive) {
if (!this._options.retainContextWhenHidden) {
this.disposeWebview();
}
}