13
0

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:
Paul Davis 2012-12-31 15:27:38 +00:00
parent f2d27bb513
commit 104da317ff

View File

@ -524,6 +524,10 @@ MackieControlProtocol::update_surfaces()
void
MackieControlProtocol::initialize()
{
if (surfaces.empty()) {
return;
}
if (!surfaces.front()->active ()) {
return;
}