Skip to content

Commit d5c1da2

Browse files
committed
Remove retainContextWhenHidden
1 parent 618ac34 commit d5c1da2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/extension.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ function activate(context) {
3434
vscode.commands.registerCommand('polacode.activate', () => {
3535
panel = vscode.window.createWebviewPanel('polacode', P_TITLE, 2, {
3636
enableScripts: true,
37-
localResourceRoots: [vscode.Uri.file(path.join(context.extensionPath, 'webview'))],
38-
// retainContextWhenHidden: true
37+
localResourceRoots: [vscode.Uri.file(path.join(context.extensionPath, 'webview'))]
3938
})
4039

4140
panel.webview.html = getHtmlContent(htmlPath)

0 commit comments

Comments
 (0)