diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index b461fd0854..675950d986 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -1172,7 +1172,6 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi MidiControlUI* midi_control_ui; int start_midi_thread (); - void terminate_midi_thread (); void set_play_loop (bool yn); void unset_play_loop (); diff --git a/libs/ardour/session_midi.cc b/libs/ardour/session_midi.cc index e5f4b9cd6e..3fe6925186 100644 --- a/libs/ardour/session_midi.cc +++ b/libs/ardour/session_midi.cc @@ -539,10 +539,6 @@ Session::mmc_step_timeout () return true; } -/*--------------------------------------------------------------------------- - MIDI THREAD - ---------------------------------------------------------------------------*/ - int Session::start_midi_thread () { @@ -551,12 +547,3 @@ Session::start_midi_thread () return 0; } -void -Session::terminate_midi_thread () -{ - if (midi_control_ui) { - midi_control_ui->quit (); - } -} - -