Delete tempo lines when session goes away
[ardour.git] / gtk2_ardour / editor.cc
index 2ba470853acb2e47a078dcaa9d645605cd2a13ae..0350de1d12685a1b55000dc51355f74c04463710 100644 (file)
@@ -5908,6 +5908,9 @@ Editor::session_going_away ()
        hide_measures ();
        clear_marker_display ();
 
+       delete tempo_lines;
+       tempo_lines = 0;
+
        stop_step_editing ();
 
        if (own_window()) {