Skip to content

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