Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace BrowserView.webContents.destroy() #5921

Merged

Conversation

rak-phillip
Copy link
Contributor

Previously, we used the undocumented method BrowserView.webContents.destroy() because our Electron version lacked support for BrowserView.webContents.close(). With the recent Electron update, we can now use the recommended close() method instead of relying on the undocumented one.

closes #4394

Previously, we used the undocumented method `BrowserView.webContents.destroy()` because our Electron version lacked support for `BrowserView.webContents.close()`. With the recent Electron update, we can now use the recommended `close()` method instead of relying on the undocumented one.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
@mook-as mook-as merged commit 1703cbc into rancher-sandbox:main Nov 3, 2023
10 checks passed
@rak-phillip rak-phillip deleted the chore/4394-browserview-close branch November 15, 2023 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RDX: Replace BrowserView.webContents.destroy() with BrowserView.webContents.close()
2 participants