Skip to content

Commit

Permalink
Merge pull request #29 from TransferChain/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
akdilsiz authored Jun 15, 2022
2 parents 0116760 + 9873e3a commit b03bc0f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,12 @@ func (c *client) listen() {
}

messageType, readingMessage, err := c.readMessage()
if websocket.IsCloseError(err, websocket.CloseNormalClosure) {
return
}
if err != nil {
c.closeWS()
return
continue
}

if c.listenCallback != nil {
Expand Down

0 comments on commit b03bc0f

Please sign in to comment.