Skip to content

Fix more state races - #140

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

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

Conversation

@G-Stas

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

Copy link
Copy Markdown
Owner

No description provided.

Flush took the change before writing it, so after a failed write nothing was
left to save: the change was lost unless another one followed, and the flush
on exit wrote nothing.
The request was recorded before Windows was asked and kept when Windows
refused, so for 5 s the next switch counted from a device that never became
the default.
The oldest pill was taken in dictionary order, which isn't the order the pills
were added once some were removed, so a newer pill could be closed instead.
With no volume to show, a theme change sent the new theme's icon for nothing,
which is null and could leave the tray icon blank. The icon stays, and the
next volume glyph is sent in the new theme's color.
A put-back pass checked the lock and wrote the session volume in two steps.
A release in between left the session at the held volume although the app was
free and its volume restored.
@G-Stas
G-Stas merged commit a09b839 into main Nov 8, 2026
@G-Stas
G-Stas deleted the fix/state-races-2 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