diff --git a/gtk2_ardour/midi_tracer.cc b/gtk2_ardour/midi_tracer.cc index 22ae957ed7..1b31b0a783 100644 --- a/gtk2_ardour/midi_tracer.cc +++ b/gtk2_ardour/midi_tracer.cc @@ -166,6 +166,10 @@ MidiTracer::ports_changed () _midi_port_list->clear (); + if (!AudioEngine::instance()->running()) { + return; + } + PortManager::PortList pl; AudioEngine::instance()->get_ports (DataType::MIDI, pl);