From 167359b300b8cb063b3c2bc47089847a1da6e8cd Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 17 Dec 2025 01:45:19 +0100 Subject: [PATCH] Fix crashes caused by retaining references in 557058f362f29 --- gtk2_ardour/editor_selection.cc | 2 +- gtk2_ardour/recorder_ui.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index 4fd35a6289..3c8646ddd0 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -1083,7 +1083,7 @@ Editor::set_selected_regionview_from_map_event (GdkEventAny* /*ev*/, StreamView* void Editor::presentation_info_changed (PropertyChange const & what_changed) { - if (!_session || _session->deletion_in_progress()) { + if (!_session) { /* static signal, that the editor c'tor subscribes to. * It may be received during connect_dependents_to_session() when * signals are processed in BootMessage -> GUIIdle, just diff --git a/gtk2_ardour/recorder_ui.cc b/gtk2_ardour/recorder_ui.cc index 69e19ab1c5..3a80137a82 100644 --- a/gtk2_ardour/recorder_ui.cc +++ b/gtk2_ardour/recorder_ui.cc @@ -1139,7 +1139,7 @@ struct TrackRecordAxisSorter { void RecorderUI::presentation_info_changed (PBD::PropertyChange const& what_changed) { - if (!_session || _session->deletion_in_progress()) { + if (!_session) { return; } if (what_changed.contains (Properties::hidden)) {