fix potential crash at session close (when port-matrix is visible)
remove_aux_or_listen() -> PortMatrix::route_processors_changed() -> setup_global_ports() -> PortGroupList::gather() -> crash if some session ports were already removed.
This commit is contained in:
parent
ec92524fe9
commit
8dc41bb700
@ -610,6 +610,7 @@ PortMatrix::disassociate_all_on_channel (boost::weak_ptr<Bundle> bundle, uint32_
|
||||
void
|
||||
PortMatrix::setup_global_ports ()
|
||||
{
|
||||
if (!_session || _session->deletion_in_progress()) return;
|
||||
ENSURE_GUI_THREAD (*this, &PortMatrix::setup_global_ports)
|
||||
|
||||
for (int i = 0; i < 2; ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user