13
0

abort if configuration fails

This commit is contained in:
Robin Gareus 2016-03-29 23:37:36 +02:00
parent 6977bd945e
commit 3a43e31d07

View File

@ -2155,6 +2155,7 @@ Route::configure_processors_unlocked (ProcessorStreams* err)
if (!(*p)->configure_io(c->first, c->second)) {
DEBUG_TRACE (DEBUG::Processors, string_compose ("%1: configuration failed\n", _name));
return -1;
}
processor_max_streams = ChanCount::max(processor_max_streams, c->first);
processor_max_streams = ChanCount::max(processor_max_streams, c->second);