mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 22:12:26 +01:00
Rename webviewOptions.keepAlive to retainContextWhenHidden to make it more clear what this option does
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user