Don't return "false" if message sending closed the connection.

This commit is contained in:
Joachim Bauch 2024-04-23 11:09:04 +02:00
parent 2468443572
commit 0c2cefa63a
No known key found for this signature in database
GPG key ID: 77C1D22D53E15F02

View file

@ -497,7 +497,6 @@ func (c *Client) writeMessageLocked(message WritableClientMessage) bool {
go session.Close()
}
go c.Close()
return false
}
return true