Skip to content

Commit

Permalink
Disconnect was already set above
Browse files Browse the repository at this point in the history
  • Loading branch information
bitomaxsp committed May 22, 2023
1 parent 864d469 commit 3a675c0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,6 @@ func (c *Client) monitor(ctx context.Context) {
action = createSecureChannel
}

c.setState(Disconnected)

c.pauseSubscriptions(ctx)

var (
Expand Down

0 comments on commit 3a675c0

Please sign in to comment.