3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

don't close socket sending channel

This commit is contained in:
Jeremy Latt 2014-02-14 19:30:07 -08:00
parent 87cc184ec0
commit 50f1012c92

View File

@ -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()
}