From 50f1012c9223cb014bc5dccfdc57ac08e01158de Mon Sep 17 00:00:00 2001 From: Jeremy Latt Date: Fri, 14 Feb 2014 19:30:07 -0800 Subject: [PATCH] don't close socket sending channel --- irc/socket.go | 1 - 1 file changed, 1 deletion(-) diff --git a/irc/socket.go b/irc/socket.go index 7f5009b3..7801ee75 100644 --- a/irc/socket.go +++ b/irc/socket.go @@ -57,7 +57,6 @@ func (socket *Socket) Close() { socket.mutex.Lock() socket.closed = true socket.conn.Close() - close(socket.send) close(socket.receive) socket.mutex.Unlock() }