13
0

drop connections to incoming MIDI signals before deleting MTC Slave object

git-svn-id: svn://localhost/ardour2/branches/3.0@13208 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-10-04 20:54:08 +00:00
parent a63d01e24a
commit d29c5cdfb0

View File

@ -70,6 +70,8 @@ MTC_Slave::MTC_Slave (Session& s, MIDI::Port& p)
MTC_Slave::~MTC_Slave()
{
port_connections.drop_connections ();
if (did_reset_tc_format) {
session.config.set_timecode_format (saved_tc_format);
}