You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/12/02 04:05:47 UTC

[GitHub] [pulsar-client-cpp] erobot commented on pull request #136: [fix] Fix a crash when closing a connection while connecting

erobot commented on PR #136:
URL: https://github.com/apache/pulsar-client-cpp/pull/136#issuecomment-1334736092

   There are another ways to fix but will change more.
   * change state_ to atomic and using cas to check state
   * change keepAliveTimer_ to PeriodicTask to avoid using executor_
   
   Since connect should be low a frequency operation and using mutex should be simple and enough.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org