Drop platform lock when setting menu (cherry-pick #20962) (#20966)
gcp-cherry-pick-bot[bot]
and
Conrad Irwin
created
Cherry-picked Drop platform lock when setting menu (#20962)
Turns out setting the menu (sometimes) calls `selected_range` on the
input
handler.
https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1732160078058279
Release Notes:
- Fixed a panic when reloading keymaps
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>