mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 04:06:26 +01:00
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
1 changed files with 5 additions and 4 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue