mirror of
https://github.com/neovim/neovim.git
synced 2026-05-03 04:25:03 +00:00
Problem: Crash in BufLeave/WinLeave/TabLeave when closing window after
BufUnload closes all other windows in the tab page.
Solution: Avoid duplicate BufLeave/WinLeave events. Trigger TabLeave
before removing the buffer (zeertzjq).
related: vim/vim#14166
related: neovim/neovim#33603
closes: vim/vim#18330
0c70820015
(cherry picked from commit c9f6267402)