Gilthoniel commented on issue #1257:
URL: 
https://github.com/apache/pulsar-client-go/issues/1257#issuecomment-2252727016

   That could be fixed by introducing a `closed` channel that would be closed 
when `runEventsLoop` terminates then the `doClose` function can switch the 
state to Closing and close the channels then wait for the `closed` channel to 
be closed.
   
   In that case the reconnect either succeed or fail and next iteration would 
return as the incoming channels are closed.


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