summaryrefslogtreecommitdiff
path: root/libs/ardour/session.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r--libs/ardour/session.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index 6a8a54939d..6968f9ba28 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -3420,6 +3420,7 @@ Session::remove_routes (boost::shared_ptr<RouteList> routes_to_remove)
#ifdef USE_TRACKS_CODE_FEATURES
reconnect_existing_routes(true, false);
#else
+ routes.flush (); // maybe unsafe, see below.
resort_routes ();
#endif