Skip to content

Conversation

@codebytere
Copy link
Member

Backport of #18196.

See that PR for more details.

Notes: Fixed an issue where tray.destroy was not working properly on some linux distros.

This code was originally added in #6448 to handle an edge case crash in 10.9, and we no longer support 10.9 and therefore no longer need to account for this case.

It addressed the crash, but also created a race condition whereby when a new tray is created the old tray's destroy wouldn't have been fully completed and therefore a new one would be spawned. This fixes that by destroying the tray on the current tick once more.
@codebytere codebytere added backport This is a backport PR 5-0-x labels Aug 4, 2019
@trop trop bot mentioned this pull request Aug 4, 2019
4 tasks
@zcbenz zcbenz merged commit fc94fb4 into 5-0-x Aug 5, 2019
@release-clerk
Copy link

release-clerk bot commented Aug 5, 2019

Release Notes Persisted

Fixed an issue where tray.destroy was not working properly on some linux distros.

@zcbenz zcbenz deleted the tray-tick-5 branch August 5, 2019 00:46
@codebytere
Copy link
Member Author

/trop run backport-to 4-2-x

@trop
Copy link
Contributor

trop bot commented Aug 5, 2019

The backport process for this PR has been manually initiated,
sending your 1's and 0's to "4-2-x" here we go! :D

@trop
Copy link
Contributor

trop bot commented Aug 5, 2019

I was unable to backport this PR to "4-2-x" cleanly;
you will need to perform this backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5-0-x backport This is a backport PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants