cckellogg commented on a change in pull request #677:
URL: https://github.com/apache/pulsar-client-go/pull/677#discussion_r762145505



##########
File path: pulsar/internal/connection.go
##########
@@ -858,13 +858,14 @@ func (c *connection) Close() {
                c.Lock()
                cnx := c.cnx
                c.Unlock()
-               c.changeState(connectionClosed)
+               c.changeState(connectionClosing)

Review comment:
       How does changing the state here to `connectionClosing` and then 
changing it to `connectionClosed` later fix the issue?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to