summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/session.cc2
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 ();
}