fix segfault in libardour unit-tests (possible crash in mackie sf)
This commit is contained in:
parent
ff427be0fa
commit
f519edbe8e
@ -384,7 +384,9 @@ Surface::setup_master ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!m) {
|
if (!m) {
|
||||||
|
if (_master_fader) {
|
||||||
_master_fader->set_control (boost::shared_ptr<AutomationControl>());
|
_master_fader->set_control (boost::shared_ptr<AutomationControl>());
|
||||||
|
}
|
||||||
master_connection.disconnect ();
|
master_connection.disconnect ();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user