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: prevent menu gc during popup #20808

Merged

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Oct 29, 2019

Backport of #20785

See that PR for details.

Notes: Fixed a crash in Menus related to menu.popup().

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Oct 29, 2019
@trop trop bot added 7-0-x backport This is a backport PR labels Oct 29, 2019
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Oct 29, 2019
@zcbenz zcbenz merged commit 6e32da3 into 7-0-x Oct 29, 2019
@release-clerk
Copy link

release-clerk bot commented Oct 29, 2019

Release Notes Persisted

Fixed a crash in Menus related to menu.popup().

@zcbenz zcbenz deleted the trop/7-0-x-bp-fix-prevent-menu-gc-during-popup-1572322882292 branch October 29, 2019 07:25
@dgmid
Copy link

dgmid commented Nov 29, 2019

menu.popup() is crashing my app in Electron 7.1.2.
I've created a simple test app with only a main window and a popup menu and it has the same result.
Running the app with 6x or 8x-beta the app is OK.

@zcbenz
Copy link
Member

zcbenz commented Nov 29, 2019

@dgmid Can you create a new issue with the test app and details about your environment?

@dgmid
Copy link

dgmid commented Nov 30, 2019

Done: #21338

@zcbenz
Copy link
Member

zcbenz commented Dec 2, 2019

@dgmid I can not reproduce it on my machine, can you also paste the crash report? It can be found in Console.app.

@dgmid
Copy link

dgmid commented Dec 2, 2019

No problem, here it is:

crash-report.txt

I have also tested this on my old Macbook Pro which is running macOS 10.13.6 (High Sierra) and it doesn't crash that machine. Only the 10.15.1 (Catalina) machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7-0-x backport This is a backport PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants