mirror of
https://github.com/neovim/neovim.git
synced 2025-12-02 23:13:01 +00:00
The `onexit` handler could set `message_callbacks` to `nil` within the luv event loop while the mainloop runs a function that tries to access `message_callbacks`. This adds some checks to prevent errors in that case. Fixes https://github.com/neovim/neovim/issues/14863