MIDI tracer: don't update ports if audio engine is not running when ports_changed() is called
This commit is contained in:
parent
b91e9fbe64
commit
0e7a5235e1
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user