This is an automated email from the ASF dual-hosted git repository.

jbarrett pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git

commit cf16d3071cb92bce3e87238146927316a67db1fd
Author: David Kimura <[email protected]>
AuthorDate: Wed Sep 20 13:25:40 2017 -0700

    GEODE-3674: Fix bug in usage of shared pointer
---
 cppcache/src/ProxyCache.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cppcache/src/ProxyCache.cpp b/cppcache/src/ProxyCache.cpp
index 2d03a8b..d304609 100644
--- a/cppcache/src/ProxyCache.cpp
+++ b/cppcache/src/ProxyCache.cpp
@@ -63,8 +63,7 @@ void ProxyCache::close() {
       prqs->closeCqs(false);
     }
 
-    ProxyCachePtr pcp(this);
-    GuardUserAttribures gua(pcp);
+    GuardUserAttribures gua(shared_from_this());
     m_isProxyCacheClosed = true;
     m_userAttributes->unSetCredentials();
     // send message to server

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to