aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/util.lua
diff options
context:
space:
mode:
authorMathias Fussenegger <f.mathias@zignar.net>2021-06-25 14:45:17 +0200
committerMathias Fussenegger <f.mathias@zignar.net>2021-06-25 14:45:17 +0200
commit58473178ff217079e6a0afd8926b262199477538 (patch)
tree2adf91d11308a7389b74d2cc989ff615e41daacd /runtime/lua/vim/lsp/util.lua
parent510ed996d2a92de527c70888208e3ad7ce157126 (diff)
downloadrneovim-58473178ff217079e6a0afd8926b262199477538.tar.gz
rneovim-58473178ff217079e6a0afd8926b262199477538.tar.bz2
rneovim-58473178ff217079e6a0afd8926b262199477538.zip
fix(lsp): Handle nil message_callbacks
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
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
0 files changed, 0 insertions, 0 deletions