fix: fixing shut down deadlock

This commit is contained in:
2025-10-16 06:47:51 +07:00
parent 9c6db30550
commit b71e8121e2

View File

@@ -456,7 +456,7 @@ func (wsClient *SafeWebsocketClient) Close() error {
wsClient.conn.Close()
}
wsClient.isConnected = false
// close(wsClient.dataChannel)
close(wsClient.dataChannel)
return nil
}