potential fix for #6515 - stall/crash during route deletion

introduced in 4.1-78-g11e371c
This commit is contained in:
Robin Gareus
2015-08-20 03:38:22 +02:00
parent 63e3f326e9
commit 6b8b4bb986

View File

@@ -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