mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-25 00:44:52 +01:00
fix: make sure we drop client after disconnecting
This commit is contained in:
parent
b3d76bd071
commit
44b0e05e98
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ local connected_actions = {
|
|||
disconnect = function()
|
||||
print(" xx disconnecting client " .. CODEMP.client.id)
|
||||
CODEMP.client = nil -- should drop and thus close everything
|
||||
collectgarbage("collect") -- make sure we drop
|
||||
end,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue