From 730d15d8589c2469ff6b06c9dba5e5b22b5da528 Mon Sep 17 00:00:00 2001 From: Andrey Petrov Date: Sat, 3 Jan 2015 17:20:39 -0800 Subject: [PATCH] Trying a different close thing, other oen was failing? --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index dcec55b..dac3786 100644 --- a/client.go +++ b/client.go @@ -127,7 +127,7 @@ func (c *Client) Send(msg string) { case c.Msg <- msg: default: logger.Errorf("Msg buffer full, dropping: %s (%s)", c.Name, c.Conn.RemoteAddr()) - c.Conn.Close() + c.Conn.Conn.Close() } }