NO-OP: prefer to use API to check session-state
This commit is contained in:
parent
2f09f72b3d
commit
b14fdbb516
@ -1203,7 +1203,7 @@ Session::remove_monitor_section ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
remove_route (_monitor_out);
|
remove_route (_monitor_out);
|
||||||
if (_state_of_the_state & Deletion) {
|
if (deletion_in_progress ()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3740,7 +3740,7 @@ Session::remove_routes (boost::shared_ptr<RouteList> routes_to_remove)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* speed up session deletion, don't do the solo dance */
|
/* speed up session deletion, don't do the solo dance */
|
||||||
if (0 == (_state_of_the_state & Deletion)) {
|
if (!deletion_in_progress ()) {
|
||||||
(*iter)->solo_control()->set_value (0.0, Controllable::NoGroup);
|
(*iter)->solo_control()->set_value (0.0, Controllable::NoGroup);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6437,7 +6437,7 @@ Session::update_route_record_state ()
|
|||||||
void
|
void
|
||||||
Session::listen_position_changed ()
|
Session::listen_position_changed ()
|
||||||
{
|
{
|
||||||
if (loading ()) {
|
if (loading ()) {
|
||||||
/* skip duing session restore (already taken care of) */
|
/* skip duing session restore (already taken care of) */
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user