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
fix: override content::ContentMainDelegate::CreateContentClient()
#35932
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with minor change
Release Notes Persisted
|
I was unable to backport this PR to "20-x-y" cleanly; |
I have automatically backported this PR to "22-x-y", please check out #35964 |
I have automatically backported this PR to "21-x-y", please check out #35965 |
Description of Change
Closes #35916.
Overrides
content::ContentMainDelegate::CreateContentClient()
to prevent duplicate creation. The previous code was added in Electron's infancy, and the override did not become available until 2019, which is why this hasn't yet been changed.Checklist
npm test
passesRelease Notes
Notes: Fixed a potential memory leak.