mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
patch 8.2.0747: cannot forcefully close all popups
Problem: Cannot forcefully close all popups. Solution: Add the "force" argument to popup_clear(). Use it after running a test. Put back the check for a popup when editing a file.
This commit is contained in:
@@ -1069,13 +1069,9 @@ free_all_mem(void)
|
||||
# if defined(FEAT_BEVAL_TERM)
|
||||
ui_remove_balloon();
|
||||
# endif
|
||||
# if defined(FEAT_PROP_POPUP)
|
||||
# ifdef FEAT_PROP_POPUP
|
||||
if (curwin != NULL)
|
||||
{
|
||||
while (popup_is_popup(curwin))
|
||||
popup_close_with_retval(curwin, 0);
|
||||
close_all_popups();
|
||||
}
|
||||
close_all_popups(TRUE);
|
||||
# endif
|
||||
|
||||
// Clear user commands (before deleting buffers).
|
||||
|
Reference in New Issue
Block a user