summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-02-25 15:34:27 +0100
committerRobin Gareus <robin@gareus.org>2020-02-25 16:17:00 +0100
commite926a580a965315c958fdf900080251668ec6f08 (patch)
tree022de1ec21f128794ebd40739e701599b38b8e02 /libs
parent53a6b3e28d0d95896689e3e2ccd5e86c22f43fef (diff)
Disable Transport Master boost debug
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/transport_master_manager.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/transport_master_manager.cc b/libs/ardour/transport_master_manager.cc
index f383179c67..db3739c7e9 100644
--- a/libs/ardour/transport_master_manager.cc
+++ b/libs/ardour/transport_master_manager.cc
@@ -356,7 +356,9 @@ TransportMasterManager::add (SyncSource type, std::string const & name, bool rem
return -1;
}
+#if defined BOOST_SP_ENABLE_DEBUG_HOOKS && defined BOOST_DEBUG_TMM
boost_debug_shared_ptr_mark_interesting (tm.get(), "tm");
+#endif
ret = add_locked (tm);
}
@@ -529,7 +531,9 @@ TransportMasterManager::set_state (XMLNode const & node, int version)
Glib::Threads::RWLock::WriterLock lm (lock);
_current_master.reset ();
+#if defined BOOST_SP_ENABLE_DEBUG_HOOKS && defined BOOST_DEBUG_TMM
boost_debug_list_ptrs ();
+#endif
/* TramsportMasters live for the entire life of the
* program. TransportMasterManager::set_state() should only be
@@ -547,7 +551,9 @@ TransportMasterManager::set_state (XMLNode const & node, int version)
continue;
}
+#if defined BOOST_SP_ENABLE_DEBUG_HOOKS && defined BOOST_DEBUG_TMM
boost_debug_shared_ptr_mark_interesting (tm.get(), "tm");
+#endif
if (add_locked (tm)) {
continue;