diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 3509ee19a5..d0fe74db21 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -5501,6 +5501,7 @@ Session::unmark_aux_send_id (uint32_t id) void Session::unmark_return_id (uint32_t id) { + if (_state_of_the_state & Deletion) { return; } if (id < return_bitset.size()) { return_bitset[id] = false; }