Prevent deadlock when removing routes w/o engine
This commit is contained in:
parent
ae2a6175cc
commit
dce81aecc5
@ -3814,7 +3814,7 @@ Session::remove_routes (boost::shared_ptr<RouteList> routes_to_remove)
|
||||
resort_routes ();
|
||||
#endif
|
||||
|
||||
if (_process_graph && !(_state_of_the_state & Deletion)) {
|
||||
if (_process_graph && !(_state_of_the_state & Deletion) && _engine.running()) {
|
||||
_process_graph->clear_other_chain ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user