You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "BewareMyPower (via GitHub)" <gi...@apache.org> on 2023/04/11 06:16:47 UTC

[GitHub] [pulsar-client-cpp] BewareMyPower commented on issue #248: logging thread_local error when thread exit [Bug]

BewareMyPower commented on issue #248:
URL: https://github.com/apache/pulsar-client-cpp/issues/248#issuecomment-1502743418

   I cannot reproduce this issue with the following code:
   
   ```c++
   #include <pulsar/Client.h>
   using namespace pulsar;
   
   class OuterClient {
      public:
       OuterClient(const std::string& service_url) : client_(service_url) {}
   
       ~OuterClient() { client_.close(); }
   
      private:
       Client client_;
   };
   
   std::unique_ptr<OuterClient> client;
   
   int main() {
       client.reset(new OuterClient("pulsar://localhost:6650"));
       return 0;
   }
   ```


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