Be more careful during final cleanup process (all ccnx objects are now properly destroyed)
diff --git a/model/ccnx-pit.cc b/model/ccnx-pit.cc
index 86484ef..f51aa33 100644
--- a/model/ccnx-pit.cc
+++ b/model/ccnx-pit.cc
@@ -61,6 +61,20 @@
clear ();
}
+void
+CcnxPit::NotifyNewAggregate ()
+{
+}
+
+void
+CcnxPit::DoDispose ()
+{
+ if (m_cleanupEvent.IsRunning ())
+ m_cleanupEvent.Cancel (); // cancel any scheduled cleanup events
+
+ clear ();
+}
+
void
CcnxPit::SetCleanupTimeout (const Time &timeout)
{