mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 20:26:30 +01:00
take read-lock when saving processor order
This commit is contained in:
parent
eadc2ca88a
commit
00967a1982
1 changed files with 18 additions and 15 deletions
|
|
@ -2781,6 +2781,8 @@ Route::state(bool full_state)
|
||||||
node->add_child_nocopy (_pannable->state (full_state));
|
node->add_child_nocopy (_pannable->state (full_state));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
Glib::Threads::RWLock::ReaderLock lm (_processor_lock);
|
||||||
for (i = _processors.begin(); i != _processors.end(); ++i) {
|
for (i = _processors.begin(); i != _processors.end(); ++i) {
|
||||||
if (!full_state) {
|
if (!full_state) {
|
||||||
/* template save: do not include internal sends functioning as
|
/* template save: do not include internal sends functioning as
|
||||||
|
|
@ -2802,6 +2804,7 @@ Route::state(bool full_state)
|
||||||
}
|
}
|
||||||
node->add_child_nocopy((*i)->state (full_state));
|
node->add_child_nocopy((*i)->state (full_state));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (_extra_xml) {
|
if (_extra_xml) {
|
||||||
node->add_child_copy (*_extra_xml);
|
node->add_child_copy (*_extra_xml);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue