Monorepo for Aesthetic.Computer aesthetic.computer

slab/yergersnap: fix menu-click crash from showMenu recursion master

showMenu was setting statusItem.menu then calling performClick(nil), which re-fired handleClick → showMenu in a loop until the main thread blew its stack and the app crashed with EXC_BAD_ACCESS. Replace with NSMenu.popUp(positioning:at:in:) which displays the menu synchronously without going back through the button's action. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>


+6 -3
1 changed file