From da1b2cac2940eb1cf7f67328762fd5db5e1a0c8d Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 8 Dec 2024 10:04:03 +0800 Subject: Client teardown and proper nick changes --- main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'main.go') diff --git a/main.go b/main.go index 75afd08..b730b9d 100644 --- a/main.go +++ b/main.go @@ -40,6 +40,7 @@ func main() { // TODO: Add to the UID table and make actually unique UIDs go func() { defer func() { + client.Teardown() (*client.conn).Close() // TODO: Unified client clean-up }() -- cgit v1.2.3