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 Deadlock and item ordering in Windows #103

Merged
merged 2 commits into from
Nov 20, 2019

Conversation

ldstein
Copy link
Contributor

@ldstein ldstein commented Nov 20, 2019

Hi,

This PR addresses two issues raised in #101:

  • Ensure all item.ClickCh channels have at least one receiver to avoid deadlocks.

  • nextActionId was incrementing too early, resulting in the second added item not being added to the actions map. Ie:
    -- Item 0 is assigned to action 1
    -- Item 1 is not added (because item 0 was assigned to action 1)

@ldstein ldstein changed the title Deadlock Fix Deadlock and item ordering in Windows Nov 20, 2019
@oxtoacart
Copy link
Contributor

LGTM, thanks @ldstein !

@oxtoacart oxtoacart merged commit 040e272 into getlantern:master Nov 20, 2019
ropog3ovomou pushed a commit to ropog3ovomou/systray that referenced this pull request Jul 13, 2022
Fix Deadlock and item ordering in Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants