mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-30 10:27:44 +01:00
[Summary] MixerStrip connects port_connected_or_disconnected to the engine::PortConnectedOrDisconnected before a route is set to the MixerStrip.
So should check if the _route is NULL in this method.
This commit is contained in:
parent
1bb78a6926
commit
2b9434b6af
1 changed files with 4 additions and 0 deletions
|
|
@ -1241,6 +1241,10 @@ MixerStrip::io_changed_proxy ()
|
|||
void
|
||||
MixerStrip::port_connected_or_disconnected (boost::weak_ptr<Port> wa, boost::weak_ptr<Port> wb)
|
||||
{
|
||||
if (!_route) {
|
||||
return;
|
||||
}
|
||||
|
||||
boost::shared_ptr<Port> a = wa.lock ();
|
||||
boost::shared_ptr<Port> b = wb.lock ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue