mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 18:52:41 +01:00
don't close socket sending channel
This commit is contained in:
parent
87cc184ec0
commit
50f1012c92
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user