Skip to content

v0.3.0 — SetAppName + Multi-Tray Lifecycle + Race Fix

Latest

Choose a tag to compare

@kolkov kolkov released this 30 Aug 19:46
· 7 commits to main since this release
a71468f

Added

  • SetAppName() — configurable application name for Linux D-Bus notifications. Previously hardcoded as "gogpu-systray". On Windows/macOS, the OS determines app identity automatically. (#35)
  • SetMenu(nil) — pass nil to remove the current context menu. Previously panicked. By @besmpl. (#29)

Fixed

  • Multi-tray lifecycle: destroying one tray no longer kills the event loop for all trays. Run() only exits when the last tray is removed. By @besmpl. (#30)
  • macOS: crash on tray creation before finishLaunching. NSStatusItem created before NSApplication finishLaunching caused CGSConnectionByID assertion crash. By @nange. (#32, #33)
  • Concurrent menu update race. Platform backends read MenuItem fields without holding item.mu. Now captures immutable snapshot under lock. By @besmpl. (#31)

Contributors

Thank you @besmpl (3 PRs: #29, #30, #31) and @nange (PR #33) for excellent contributions!