Skip to content

Fix state races - #139

Merged
G-Stas merged 5 commits into
mainfrom
fix/state-races
Nov 8, 2026
Merged

G-Stas merged 5 commits into
mainfrom
fix/state-races

Conversation

@G-Stas

@G-Stas G-Stas commented Nov 8, 2026

Copy link
Copy Markdown
Owner

No description provided.

G-Stas and others added 5 commits November 6, 2026 17:41
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.
@G-Stas
G-Stas merged commit 2680c19 into main Nov 8, 2026
@G-Stas
G-Stas deleted the fix/state-races branch November 12, 2026 17:12
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.

1 participant