To: vim_dev@googlegroups.com Subject: Patch 8.2.2248 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2248 Problem: ASAN error on exit with GUI. Solution: Check the window still has lines. (Christian Brabandt, closes #7573) Files: src/term.c *** ../vim-8.2.2247/src/term.c 2020-12-30 13:14:41.950441890 +0100 --- src/term.c 2020-12-30 14:07:53.812804241 +0100 *************** *** 3411,3419 **** 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) return; ++busy; --- 3411,3420 ---- return; // curwin->w_buffer can be NULL when we are closing a window and the ! // 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; *** ../vim-8.2.2247/src/version.c 2020-12-30 13:14:41.950441890 +0100 --- src/version.c 2020-12-30 14:07:07.428947934 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2248, /**/ -- hundred-and-one symptoms of being an internet addict: 40. You tell the cab driver you live at http://123.elm.street/house/bluetrim.html 41. You actually try that 123.elm.street address. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///