mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 07:26:32 +01:00
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:
parent
a63d01e24a
commit
d29c5cdfb0
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue