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
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

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