crossoverJie opened a new pull request, #808:
URL: https://github.com/apache/pulsar-client-go/pull/808

   Fixes #387  
   
   ### Motivation
   
   Fix goroutine leak for closing consumers.
   
   ### Modifications
   
   Add nil check and more friendly tips.
   
   Close the `c.messageCh` at the same time as closing the consumer.
   
   **Before fix:**
   
   
![image](https://user-images.githubusercontent.com/15684156/178961352-69003ed9-cbd2-43ba-b6ce-1a7fc3f6bbfb.png)
   
![image](https://user-images.githubusercontent.com/15684156/178961431-84d6e1b4-1cb6-44b2-8cd4-9f1d7a26da6a.png)
   
   


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