mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-18 08:29:55 +01:00
Address data race in menuActive flag access: - Add menuMutex sync.RWMutex to WindowAttachConfig struct - Protect menuActive read in WindowLostFocus handler with RLock - Protect menuActive writes in AboutToShow and Event handlers with Lock This fixes concurrent access between DBus callbacks (writes) and the WindowLostFocus handler (reads) that could cause data races. Addresses CodeRabbit review comments from PR #4775. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| application | ||
| errs | ||
| events | ||
| icons | ||
| mac | ||
| services | ||
| w32 | ||