diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2020-02-17 22:41:13 -0800 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2020-02-17 22:41:13 -0800 |
commit | 6d48d0bd1598182c874f1ad5d72b4671944308bb (patch) | |
tree | 6b476388b9b5ab51afdebfa4362cd810f1f5cee6 /runtime/lua/vim/lsp/util.lua | |
parent | a2efc9cf8b0fdf14b01156ba424145e1847f789c (diff) | |
download | rneovim-6d48d0bd1598182c874f1ad5d72b4671944308bb.tar.gz rneovim-6d48d0bd1598182c874f1ad5d72b4671944308bb.tar.bz2 rneovim-6d48d0bd1598182c874f1ad5d72b4671944308bb.zip |
loop_close: call uv_stop(), fix bug
- Call uv_stop().
- Restore `uv_loop_close` condition (braindead cosmetic change from
a2efc9cf8b0f that caused uv_loop_close *not* to be called if
wait=false, sorry).
Not doing `uv_walk(() => uv_close)`: see source comment for explanation.
fix #11820
fix #7376
Q: Should we restore use of `UV_RUN_DEFAULT`/`UV_RUN_ONCE` (removed in
a2efc9cf8b0f)?
A: The while-loop (hopefully) achieves the same purpose while avoiding
a hang.
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
0 files changed, 0 insertions, 0 deletions