You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jb...@apache.org on 2017/09/22 21:09:58 UTC
[geode-native] 01/03: GEODE-3674: Fix bug in usage of shared pointer
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 <dk...@pivotal.io>
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
"commits@geode.apache.org" <co...@geode.apache.org>.