mirror of
https://github.com/vim/vim.git
synced 2025-11-16 23:24:03 -05:00
patch 9.0.0015: with EXITFREE defined terminal menus are not cleared
Problem: With EXITFREE defined terminal menus are not cleared.
Solution: Also clear terminal menus. Remove condition that is always true.
(closes #10641)
This commit is contained in:
@@ -402,6 +402,7 @@ free_all_mem(void)
|
||||
# ifdef FEAT_MENU
|
||||
// Clear menus.
|
||||
do_cmdline_cmd((char_u *)"aunmenu *");
|
||||
do_cmdline_cmd((char_u *)"tlunmenu *");
|
||||
# ifdef FEAT_MULTI_LANG
|
||||
do_cmdline_cmd((char_u *)"menutranslate clear");
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user