Skip to content

Commit 27790cd

Browse files
author
Jan Naahs
committed
Fix crash after inganme chat is used
1 parent 495d0bd commit 27790cd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/wsclient.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ func (client *Client) Read() {
2929
handler(client, message.Data)
3030
}
3131
}
32-
client.socket.Close()
3332
}
3433

3534
func (client *Client) Write() {
@@ -38,7 +37,6 @@ func (client *Client) Write() {
3837
break
3938
}
4039
}
41-
client.socket.Close()
4240
}
4341

4442
func (client *Client) Close() {

0 commit comments

Comments
 (0)