forked from External/ergo
don't close socket sending channel
This commit is contained in:
parent
87cc184ec0
commit
50f1012c92
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue