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

fix: add isDestroyed check #31467

Merged
merged 4 commits into from
Oct 19, 2021

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Oct 19, 2021

Backport of #31208

See that PR for details.

Notes: Fixed possible 'Object has been destroyed' error when calling window.open with a frame name and using setWindowOpenHandler.

t57ser and others added 4 commits October 19, 2021 00:57
Unregister the frame name so that we do not accidentally unregister the wrong window later on in case there is a timing issue with the events
Co-authored-by: Cheng Zhao <github@zcbenz.com>
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Oct 19, 2021
@trop trop bot mentioned this pull request Oct 19, 2021
1 task
@trop trop bot added 14-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Oct 19, 2021
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Oct 19, 2021
@zcbenz zcbenz merged commit 90c5f93 into 14-x-y Oct 19, 2021
@zcbenz zcbenz deleted the trop/14-x-y-bp-fix-add-isdestroyed-check-1634605053068 branch October 19, 2021 08:40
@release-clerk
Copy link

release-clerk bot commented Oct 19, 2021

Release Notes Persisted

Fixed possible 'Object has been destroyed' error when calling window.open with a frame name and using setWindowOpenHandler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
14-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants