From 9943fffdf82c9eb7424836e65a37d9e2cc8fab33 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 5 Nov 2012 22:55:19 +0000 Subject: LTC slave: suppress warning during shutdown git-svn-id: svn://localhost/ardour2/branches/3.0@13390 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ltc_slave.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/ltc_slave.cc') diff --git a/libs/ardour/ltc_slave.cc b/libs/ardour/ltc_slave.cc index ea40fea654..fb16c5e79a 100644 --- a/libs/ardour/ltc_slave.cc +++ b/libs/ardour/ltc_slave.cc @@ -108,7 +108,7 @@ LTC_Slave::resync_latency() DEBUG_TRACE (DEBUG::LTC, "LTC resync_latency()\n"); engine_dll_initstate = 0; - if (session.ltc_output_io()) { /* check if Port exits */ + if (!session.deletion_in_progress() && session.ltc_output_io()) { /* check if Port exits */ boost::shared_ptr ltcport = session.ltc_input_port(); ltcport->get_connected_latency_range(ltc_slave_latency, false); } -- cgit v1.2.3