mirror of
https://github.com/neovim/neovim.git
synced 2026-01-28 16:12:01 +10:00
Since vimscript can close buffers at any time, it is possible that a refresh_timer_cb will be called with an invalid buffer, but there's no way to detect this if only a reference is stored because the memory can be reused by the allocator. Use buf_T->handle which is guaranteed to be unique.