Prevent crash when loading sessions with unknown plugins.
git-svn-id: svn://localhost/ardour2/branches/3.0@8082 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f6019bd0ed
commit
8f2c07eedc
@ -2323,14 +2323,15 @@ Route::set_processor_state (const XMLNode& node)
|
||||
continue;
|
||||
}
|
||||
|
||||
processor->set_state (**niter, Stateful::current_state_version);
|
||||
new_order.push_back (processor);
|
||||
must_configure = true;
|
||||
if (processor->set_state (**niter, Stateful::current_state_version) == 0) {
|
||||
new_order.push_back (processor);
|
||||
must_configure = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
{
|
||||
Glib::RWLock::WriterLock lm (_processor_lock);
|
||||
_processors = new_order;
|
||||
if (must_configure) {
|
||||
|
Loading…
Reference in New Issue
Block a user