diff --git a/internal/handler/ws_handler.go b/internal/handler/ws_handler.go index 61adf5b..4857724 100644 --- a/internal/handler/ws_handler.go +++ b/internal/handler/ws_handler.go @@ -132,7 +132,6 @@ func (h *WSHandler) HandleWebSocket(c *gin.Context) { func (h *WSHandler) readPump(conn *websocket.Conn, client *ws.Client) { defer func() { conn.Close() - close(client.Quit) }() conn.SetReadLimit(64 * 1024) // 64KB