Skip to content

v2.1.1 — Fix shutdown hang from OnceLock clone creating deep copy

Choose a tag to compare

@haxllo haxllo released this 20 Jun 19:15
· 1036 commits to master since this release

Fix shutdown hang where the process lingered in Task Manager after quitting from system tray until the hotkey was pressed once. Root cause was std::sync::OnceLock::clone() creating an independent deep copy in Rust 1.96, so the thread ID set by the worker was never visible to Drop, and the hotkey listener thread never received WM_QUIT.

Changelog (7 commits since v2.1.0)

Bug Fixes

  • shutdown hang: OnceLock::clone() deep copy hid thread ID from Drop — listener thread never posted WM_QUIT, blocking handle.join() forever. Wrapped in Arc to share state.
  • release notes: removed duplicate title heading.

Docs

  • AGENTS.md: added release build + gh release steps.
  • v2.1.0 changelog: expanded with full commit log, binary download links, RELEASE-TEMPLATE.md.

Commit Log

  • b6c6978 docs: add release build steps to AGENTS.md
  • 4ed54cd docs: add gh release step to AGENTS.md
  • d4749de docs: expand v2.1.0 changelog with full commit log
  • 684976e docs: link commits in changelog
  • 74ef675 docs: link binary downloads in changelog, add RELEASE-TEMPLATE.md
  • 2508276 fix: remove duplicate title heading in release notes
  • 37cc63b fix: shutdown hang from OnceLock clone creating deep copy

Binary