Skip to content

Commit

Permalink
fix client queue finish order
Browse files Browse the repository at this point in the history
  • Loading branch information
rasoro committed Jan 29, 2024
1 parent 04b1c0d commit 425d13c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/websocket/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,8 @@ func (c *Client) startQueueConsuming() error {

func (c *Client) CloseQueueConnections() {
if c.Queue != nil {
c.Queue.Close()
c.Queue.Destroy()
c.QueueConnection.Close()
c.Queue.Close()
}
}

Expand Down

0 comments on commit 425d13c

Please sign in to comment.