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:
parent
0786be859d
commit
87181710b2
@ -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 ();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user