fix: make sure we drop client after disconnecting

This commit is contained in:
əlemi 2024-09-27 20:52:44 +02:00
parent b3d76bd071
commit 44b0e05e98
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -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,
}