13
0

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:
Carl Hetherington 2010-11-24 13:56:22 +00:00
parent f6019bd0ed
commit 8f2c07eedc

View File

@ -2323,14 +2323,15 @@ Route::set_processor_state (const XMLNode& node)
continue; continue;
} }
processor->set_state (**niter, Stateful::current_state_version); if (processor->set_state (**niter, Stateful::current_state_version) == 0) {
new_order.push_back (processor); new_order.push_back (processor);
must_configure = true; must_configure = true;
}
} }
} }
} }
{ {
Glib::RWLock::WriterLock lm (_processor_lock); Glib::RWLock::WriterLock lm (_processor_lock);
_processors = new_order; _processors = new_order;
if (must_configure) { if (must_configure) {