mirror of
https://github.com/electron/electron.git
synced 2026-02-18 11:01:47 -05:00
This is a speculative fix for a crash we are seeing in `menuDidClose`. We can't repro the crash but the traces have it happening in this method and just by reading through the impl the only part that jumps out as Might Crash is this `model_` call. Other methods in the menu controller check `model_` before using it so it probably makes sense to do that here as well.
13 KiB
13 KiB