mirror of
https://github.com/neovim/neovim.git
synced 2026-08-19 01:54:45 -05:00
Problem: #40731 may still crash if close_buffer autocmds reinsert the float's grid. Plus removing the grid (and posting win_close) is unneeded if win_close_othertab refuses to close the window later, which is possible. Solution: do the stuff before freeing the window, like win_close.