Be more careful during final cleanup process (all ccnx objects are now properly destroyed)
diff --git a/model/ccnx-rit.cc b/model/ccnx-rit.cc
index 3536ab5..32c9ddb 100644
--- a/model/ccnx-rit.cc
+++ b/model/ccnx-rit.cc
@@ -86,6 +86,20 @@
}
void
+CcnxRit::NotifyNewAggregate ()
+{
+}
+
+void
+CcnxRit::DoDispose ()
+{
+ if (m_cleanupEvent.IsRunning ())
+ m_cleanupEvent.Cancel (); // cancel any scheduled cleanup events
+
+ clear ();
+}
+
+void
CcnxRit::SetRitTimeout (const Time &timeout)
{
m_ritTimeout = timeout;