avoid crashing in a wierd case (possibly a race) in Mackie support
git-svn-id: svn://localhost/ardour2/branches/3.0@13749 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f2d27bb513
commit
104da317ff
@ -524,6 +524,10 @@ MackieControlProtocol::update_surfaces()
|
||||
void
|
||||
MackieControlProtocol::initialize()
|
||||
{
|
||||
if (surfaces.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!surfaces.front()->active ()) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user