diff options
author | Robin Gareus <robin@gareus.org> | 2018-11-26 03:31:02 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-11-26 03:31:02 +0100 |
commit | dce81aecc54b9ed286ec502a2e45f4da6200d056 (patch) | |
tree | db5f950162b31fee517a9a1d90d24b10e4f3050b /libs/ardour/session.cc | |
parent | ae2a6175ccfac70ce091eda54af85de593ad4048 (diff) |
Prevent deadlock when removing routes w/o engine
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index ae354646b9..f5920f96e4 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -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 (); } |