13
0

Remove outdated comment

This commit is contained in:
Robin Gareus 2019-05-05 18:07:21 +02:00
parent c5346f5c15
commit ddd1cda260
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -676,11 +676,6 @@ AlsaAudioBackend::set_midi_device_enabled (std::string const device, bool enable
nfo->enabled = enable;
if (_run && prev_enabled != enable) {
// XXX actually we should not change system-ports while running,
// because iterators in main_process_thread will become invalid.
//
// Luckily the engine dialog does not call this while the engine is running,
// This code is currently not used.
if (enable) {
// add ports for the given device
register_system_midi_ports(device);