]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPDeleteRequest.cpp
- some code cleanups
[openldap] / contrib / ldapc++ / src / LDAPDeleteRequest.cpp
index e6fbb251b0f89bb392fdbeb4a35f3ec971e05e57..78d086f5fc306e688c51b82535e1e64c2f3cbd6e 100644 (file)
@@ -37,7 +37,8 @@ LDAPDeleteRequest::~LDAPDeleteRequest(){
           "LDAPDeleteRequest::~LDAPDeleteRequest()" << endl);
     // TODO -- flush the entire cache here?  or does this invalidate
     // cached searches that may have found the deleted entry.
-    m_connection->uncache_entry(m_dn);
+    // m_connection->uncache_entry(m_dn);
+    m_connection->flush_cache();
 }
 
 LDAPMessageQueue* LDAPDeleteRequest::sendRequest(){