diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 9dedb4634f..3655a074d8 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -1324,7 +1324,6 @@ Session::resort_routes () shared_ptr r = writer.get_copy (); resort_routes_using (r); /* writer goes out of scope and forces update */ - route_graph->rechain( r ); } //route_graph->dump(1); @@ -1382,6 +1381,8 @@ Session::resort_routes_using (shared_ptr r) RouteSorter cmp; r->sort (cmp); + route_graph->rechain( r ); + #ifndef NDEBUG DEBUG_TRACE (DEBUG::Graph, "Routes resorted, order follows:\n"); for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {