mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-12 07:43:31 -07:00
don't close socket sending channel
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user