mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 22:55:44 +01:00
Fix crash (or stuck solo) when removing tracks
This commit is contained in:
parent
49256a37e8
commit
bcfa591ed2
1 changed files with 4 additions and 0 deletions
|
|
@ -3550,6 +3550,10 @@ Session::remove_routes (std::shared_ptr<RouteList> routes_to_remove)
|
|||
|
||||
/* speed up session deletion, don't do the solo dance */
|
||||
if (!deletion_in_progress ()) {
|
||||
/* Do not postpone set_value as rt-event via AC::check_rt,
|
||||
* The route will be deleted by then, and the Controllable gone.
|
||||
*/
|
||||
(*iter)->solo_control()->clear_flag (Controllable::RealTime);
|
||||
(*iter)->solo_control()->set_value (0.0, Controllable::NoGroup);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue