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
Webview does not dispose properly #50556
Comments
@bpasero I've fixed some of the leaks on our side but the leaks still exist. Can you take a this possible electron issue to see if you have any thoughts on the problem: electron/electron#13243 |
@mjbvz did you test with our previous Electron 1.7.12 to see if this is a regression from the 2.0 update? |
Not a regression from 1.7. I've minimized the impact of this problem. Certainly possible I'm doing something wrong in the code here |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I investigated this again and made a few more fixes but am still blocked by the upstream electron issue. The best long term fix here is probably to move off of webviews and to normal iframes instead |
How to use native iframes? Do you have example? |
Tested using iframe based webviews using the following steps:
You can now compare between the snapshots. Search for |
I am testing from the
ben/editor
branch that contains the changes for Grid. If you split an editor to the side and then close that editor, we now actually dispose the editor and no longer keeping it around as we used to before. This means that we now rely on the editor freeing up its resources properly.For any webview editor (e.g. markdown preview or extensions editor) I see lots of controls still hanging around after:
The text was updated successfully, but these errors were encountered: