wenbingshen commented on a change in pull request #677:
URL: https://github.com/apache/pulsar-client-go/pull/677#discussion_r762351060
##########
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:
This is not to say that the problem is solved, but first change the
status to `connectionClosing` , the logic is more rigorous, I modified the
description of the PR, it does not mean that the issue is fixed, but it is
related to investigating this 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]