// and thus don't need to be interlocked explicitly.
//
#include <security_cdsa_client/cssmclient.h>
-
+#include <syslog.h>
using namespace CssmClient;
ObjectImpl::~ObjectImpl()
try
{
- assert(!mActive); // subclass must have deactivated us
- assert(isIdle());
+ if (!isIdle())
+ {
+ int i = mChildCount;
+ syslog(LOG_ALERT, "Object %p still has %d children at delete.\n", this, i);
+ }
// release parent from her obligations (if we still have one)
if (mParent)
mActive = true;
}
}
-
- session()->catchExit();
+
+ session()->catchExit();
}
void