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