Repository navigation
Fix state races - #139
Merged
Merged
Fix state races#139
Conversation
The device was added to the returned devices in one step and the apps were marked for reading in another. A worker going idle in between cleared the returned devices, so apps pinned to a device that came back were not sent back to it.
A session created between an app's exit and the removal of its model joined that model and was disposed with it, leaving the restarted app without a row until it created another session.
Only the hotkeys the previous manager held were moved. A hotkey the new manager refused kept its users but was left out of every later switch, so it stayed dead in both modes until it was turned off and on again.
The host counted a hook as running before its thread ran it, and kept it so when Run threw. A later change saw the wanted hook as running and did nothing, so hook-mode hotkeys and mouse hotkeys stayed dead. A failed hook or a hook that can't be created is now started again after a growing delay.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.