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: close context menu before popup #17474
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.
🎉
@@ -24,6 +24,23 @@ describe('tray module', () => { | |||
}) | |||
}) | |||
|
|||
describe('tray.popUpContextMenu', () => { | |||
before(function () { |
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.
i think this might only be needed on windows? it's failing on macOS as well.
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.
It seems that this API is blocking on macOS. I have changed the test to only run on Windows.
Unclear if related, if not I'll raise a tracking issue, looks like we have crash-on-exit on osx
|
@MarshallOfSound It is a known crash: #16580. This PR only affects Windows code. |
Release Notes Persisted
|
I have automatically backported this PR to "5-0-x", please check out #17509 |
Description of Change
Close #17353.
Fix crash when showing a tray menu while one is already shown.
Checklist
npm test
passesRelease Notes
Notes: Fix crash when showing a tray menu while one is already shown.