mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
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
1 changed files with 4 additions and 0 deletions
|
|
@ -524,6 +524,10 @@ MackieControlProtocol::update_surfaces()
|
|||
void
|
||||
MackieControlProtocol::initialize()
|
||||
{
|
||||
if (surfaces.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!surfaces.front()->active ()) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue