1
0
forked from aniani/vim

patch 8.2.1948: GUI: crash when handling message while closing a window

Problem:    GUI: crash when handling message while closing a window. (Srinath
            Avadhanula)
Solution:   Don't handle message while closing a window. (closes #7250)
This commit is contained in:
Bram Moolenaar
2020-11-04 11:03:12 +01:00
parent c136a3528b
commit 4778b4d0e1
4 changed files with 18 additions and 1 deletions

View File

@@ -581,6 +581,12 @@ EXTERN int diff_need_scrollbind INIT(= FALSE);
// ('lines' and 'rows') must not be changed.
EXTERN int updating_screen INIT(= FALSE);
#ifdef MESSAGE_QUEUE
// While closing windows or buffers messages should not be handled to avoid
// using invalid windows or buffers.
EXTERN int dont_parse_messages INIT(= FALSE);
#endif
#ifdef FEAT_MENU
// The root of the menu hierarchy.
EXTERN vimmenu_T *root_menu INIT(= NULL);