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 2019/09/25 03:31:21 UTC

[GitHub] [pulsar] massakam commented on a change in pull request #5246: [Issue #5234][pulsar-client-cpp] Fix memory leak caused by deadline_timer holding object reference

massakam commented on a change in pull request #5246: [Issue #5234][pulsar-client-cpp] Fix memory leak caused by deadline_timer holding object reference
URL: https://github.com/apache/pulsar/pull/5246#discussion_r327918625
 
 

 ##########
 File path: pulsar-client-cpp/lib/ClientConnection.cc
 ##########
 @@ -1382,6 +1385,10 @@ void ClientConnection::close() {
     if (tlsSocket_) {
         tlsSocket_->lowest_layer().close();
     }
+
+    if (executor_) {
+        executor_.reset();
 
 Review comment:
   Removed this in this PR.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services