ladishd: fix occasional crash on app stop (#141)

vgraph clients that are created by a2j port appear and are later
reused for native jack ports are now interlinked with the jack
client when the first jack port appears.
This commit is contained in:
Nedko Arnaudov 2010-12-25 01:36:23 +02:00
parent 93fe0427c1
commit 5559811205
1 changed files with 6 additions and 0 deletions

View File

@ -773,6 +773,12 @@ port_appeared(
goto free_alsa_names;
}
}
else
{
/* vclient exists but is not interlinked with vclient */
/* this can happen when client is created because of a2j port appear */
ladish_client_interlink(vclient, jack_client);
}
}
}