Skip to content

Commit

Permalink
Merge pull request #56 from weni-ai/fix/cli-q-finish-order
Browse files Browse the repository at this point in the history
fix client queue finish order
  • Loading branch information
rasoro authored Feb 2, 2024
2 parents 04b1c0d + 3fc2879 commit 5fbfcb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v1.6.9

Added:
- Fix close client queue on exit

v1.6.8

Added:
Expand Down
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 5fbfcb6

Please sign in to comment.