cckellogg commented on a change in pull request #154: [Issue #153] Fix handler
memory leak
URL: https://github.com/apache/pulsar-client-go/pull/154#discussion_r366020931
##########
File path: pulsar/consumer_impl.go
##########
@@ -317,6 +319,7 @@ func (c *consumer) Close() {
wg.Wait()
close(c.closeCh)
})
+ c.client.handlers.Del(c)
Review comment:
Is there a reason not to call this in the closeOnce?
----------------------------------------------------------------
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]
With regards,
Apache Git Services