yuanweikang2020 opened a new issue #462:
URL: https://github.com/apache/pulsar-client-go/issues/462


   #### Expected behavior
   
   ```
   func (c *connection) start() {
        // Each connection gets its own goroutine that will
        go func() {
                if c.connect() {
                        if c.doHandshake() {
                                c.run()
                        } else {
                                c.changeState(connectionClosed)
                        }
                } else {
                        c.changeState(connectionClosed)
                }
        }()
   }
   ```
   this code, If the pulsar doesn't work properly, it will cause a goroutine 
leak.
   
   


----------------------------------------------------------------
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.

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


Reply via email to