Skip to content

Commit

Permalink
Set client to nil at interface_shared after close for safety.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurtron committed Nov 28, 2024
1 parent 71b4581 commit fb31c76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/liblobby/lobby/interface_shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ function Interface:Disconnect(reason)
self.finishedConnecting = false
if self.client then
self.client:close()
self.client = nil
end
self:_OnDisconnected(reason, true)
end
Expand Down

0 comments on commit fb31c76

Please sign in to comment.