13
0

additional DEBUG_TRACE (Destruction) output

This commit is contained in:
Paul Davis 2024-06-06 15:53:42 -06:00
parent 36d0a6e908
commit d550292f8f

View File

@ -817,6 +817,7 @@ Session::destroy ()
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) { for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
DEBUG_TRACE(DEBUG::Destruction, string_compose ("Dropping for route %1 ; pre-ref = %2\n", (*i)->name(), (*i).use_count())); DEBUG_TRACE(DEBUG::Destruction, string_compose ("Dropping for route %1 ; pre-ref = %2\n", (*i)->name(), (*i).use_count()));
(*i)->drop_references (); (*i)->drop_references ();
DEBUG_TRACE(DEBUG::Destruction, string_compose ("post pre-ref = %2\n", (*i)->name(), (*i).use_count()));
} }
r->clear (); r->clear ();