mirror of
https://github.com/neovim/neovim.git
synced 2026-01-03 18:06:29 +10:00
Problem: Crash when buffer gets deleted inside charconvert during save
Solution: Check for `b_saving` inside `can_unload_buffer()`, so we don’t try to
unload a buffer while it’s still being saved (glepnir).
closes: vim/vim#18901
fe1c57cd2c
Co-authored-by: glepnir <glephunter@gmail.com>