Fix closing connection when shutting down server

This commit is contained in:
Ingo Oppermann
2025-06-17 17:19:21 +02:00
parent b4bf4d4e15
commit e60c1c147b

View File

@@ -86,6 +86,8 @@ func (c *client) ticker(ctx context.Context) {
func (c *client) Close() {
c.cancel()
c.conn.Close()
}
// channel represents a stream that is sent to the server