mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Speed up unloading large sessions.
This commit is contained in:
parent
fe45f9bc21
commit
581c7b6b10
1 changed files with 4 additions and 1 deletions
|
|
@ -3613,7 +3613,10 @@ Session::remove_routes (boost::shared_ptr<RouteList> routes_to_remove)
|
|||
continue;
|
||||
}
|
||||
|
||||
(*iter)->solo_control()->set_value (0.0, Controllable::NoGroup);
|
||||
/* speed up session deletion, don't do the solo dance */
|
||||
if (0 == _state_of_the_state & Deletion) {
|
||||
(*iter)->solo_control()->set_value (0.0, Controllable::NoGroup);
|
||||
}
|
||||
|
||||
rs->remove (*iter);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue