[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:
GZharun 2015-01-16 14:55:12 +02:00
parent 1bb78a6926
commit 2b9434b6af

View file

@ -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 ();