VidocqH / lsp-lens.nvim

Neovim plugin for displaying references and difinition infos upon functions like JB's IDEA.
MIT License
252 stars 15 forks source link

Error when closing tab #15

Closed smitropoulos-arista closed 1 year ago

smitropoulos-arista commented 1 year ago

I am getting this error when closing a tab quickly

Error executing vim.schedule lua callback: ...share/nvim/lazy/lsp-lens.nvim/lua/lsp-lens/lens-util.lua:174: handle 0x5632b6469090 is already closing
stack traceback:
        [C]: in function 'close'
        ...share/nvim/lazy/lsp-lens.nvim/lua/lsp-lens/lens-util.lua:174: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

This seems to be cased by something that runs asynchronously and attempts to close something already closed (just a hunch)

VidocqH commented 1 year ago

Should fixed now but need more tests :)

VidocqH commented 1 year ago

I think it's been properly fixed, welcome to reopen issue if re-encounter :)