diff --git a/gtk2_ardour/route_properties_box.cc b/gtk2_ardour/route_properties_box.cc index f4ea5aecdd..f5248b3b61 100644 --- a/gtk2_ardour/route_properties_box.cc +++ b/gtk2_ardour/route_properties_box.cc @@ -111,7 +111,12 @@ RoutePropertiesBox::set_route (std::shared_ptr r) if (r == _route) { return; } - assert (r); + + if (!r) { + drop_route (); + return; + } + _route = r; _route_connections.drop_connections ();