3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-13 07:29:30 +01:00

avoid race double-close on replies

This commit is contained in:
Jeremy Latt 2014-02-13 21:10:31 -08:00
parent 3ba928cee6
commit 7051627fb2

View File

@ -131,11 +131,6 @@ func (client *Client) writeReplies() {
break
}
}
if client.replies != nil {
close(client.replies)
client.replies = nil
}
}
func (client *Client) Destroy() {