mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 07:24: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()
|
disconnect = function()
|
||||||
print(" xx disconnecting client " .. CODEMP.client.id)
|
print(" xx disconnecting client " .. CODEMP.client.id)
|
||||||
CODEMP.client = nil -- should drop and thus close everything
|
CODEMP.client = nil -- should drop and thus close everything
|
||||||
|
collectgarbage("collect") -- make sure we drop
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue