]> git.eshelyaron.com Git - emacs.git/commit
Fix nsmenu crash when exiting popup dialog
authorPo Lu <luangruo@yahoo.com>
Thu, 6 Oct 2022 02:52:34 +0000 (10:52 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 6 Oct 2022 02:52:34 +0000 (10:52 +0800)
commitc690d1f15d274d50ed21d4aa1b98a23de8d7e1e6
treed8fc9d3a88b38f835a7faba8da4847702b0f4991
parent9cb38135505d65c6d171da721831bb542e1074ae
Fix nsmenu crash when exiting popup dialog

* src/nsmenu.m (pop_down_menu): Do not discard menu items here.
(ns_popup_dialog): Call discard_menu_items after
unuse_menu_items.  (bug#58296)
src/nsmenu.m