heronr commented on issue #6277: [Issue 4070][pulsar-client-cpp] Fix for 
possible deadlock when closing Pulsar client
URL: https://github.com/apache/pulsar/pull/6277#issuecomment-585559064
 
 
   Yes, I also considered using detach() as it is the path of least resistance. 
I just can't help but feel like it's a workaround solution that sweeps the 
underlying problem under the rug. 
   That being said, for the purposes of this PR I will go ahead and use 
std::thread::detach() to remove the deadlock. I will revisit this later with a 
(hopefully) better solution. 

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

Reply via email to