additional DEBUG_TRACE (Destruction) output

This commit is contained in:
Paul Davis 2024-06-06 15:53:42 -06:00
parent 7be82af7f8
commit 6213a0984c

View File

@ -810,6 +810,7 @@ Session::destroy ()
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()));
(*i)->drop_references ();
DEBUG_TRACE(DEBUG::Destruction, string_compose ("post pre-ref = %2\n", (*i)->name(), (*i).use_count()));
}
r->clear ();