crossoverJie commented on PR #808:
URL: https://github.com/apache/pulsar-client-go/pull/808#issuecomment-1184660129

   > Is there any chance that c.messageCh can be nil? Just wondering if we need 
a nil check around closing it since trying to close a nil channel can cause a 
panic. Otherwise LGTM
   
   Thanks for the reminder.
   
https://github.com/apache/pulsar-client-go/blob/6a8e7f39aac100a285a2c190186e38b73a5c9d34/pulsar/consumer_impl.go#L101
   Initialization is done when the consumer is created.


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