Problem: ASAN error on exit with GUI.
Solution: Check the window still has lines. (Christian Brabandt,
closes #7573)
return;
// curwin->w_buffer can be NULL when we are closing a window and the
- // buffer has already been closed and removing a scrollbar causes a resize
- // event. Don't resize then, it will happen after entering another buffer.
- if (curwin->w_buffer == NULL)
+ // buffer (or window) has already been closed and removing a scrollbar
+ // causes a resize event. Don't resize then, it will happen after entering
+ // another buffer.
+ if (curwin->w_buffer == NULL || curwin->w_lines == NULL)
return;
++busy;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2248,
/**/
2247,
/**/