13
0

Drop UI shared_ptr references to Transport Masters

This allows ARDOUR::cleanup to unregister ports before
destroying the Audio Engine. This fixes a crash at exist
with JACK since 0786be8.
This commit is contained in:
Robin Gareus 2023-12-05 04:37:39 +01:00
parent 0786be859d
commit 87181710b2
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -681,6 +681,9 @@ TransportMastersWidget::set_session (ARDOUR::Session* s)
if (_session) {
_session->config.ParameterChanged.connect (session_config_connection, invalidator (*this), boost::bind (&TransportMastersWidget::param_changed, this, _1), gui_context());
allow_master_select (!_session->config.get_external_sync());
rebuild ();
} else {
clear ();
}
}