1
0
Fork 0
forked from External/ergo

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