1
0
forked from aniani/vim

patch 8.1.1419: listener callbacks may be called recursively

Problem:    Listener callbacks may be called recursively.
Solution:   Set "updating_screen" while listener callbacks are invoked.
This commit is contained in:
Bram Moolenaar
2019-05-29 22:28:29 +02:00
parent 868b7b6712
commit 68a4b04a8d
5 changed files with 27 additions and 7 deletions

View File

@@ -691,7 +691,7 @@ ui_breakcheck_force(int force)
if (save_updating_screen)
updating_screen = TRUE;
else
reset_updating_screen(FALSE);
after_updating_screen(FALSE);
recursive = FALSE;
}