daemon: ignore duplicate jack-stopped signal
this is actually a bug in jackdbus because it should not emit
the "stopped" signal when the server stop is attempted and
server is already stopped.
The previous commit cd98f23804
is related
Both this and previous commit are related to ticket #82
This commit is contained in:
parent
eec435a79d
commit
4428a164c2
|
@ -358,6 +358,12 @@ void ladish_studio_run(void)
|
|||
/* JACK stopped but this was not expected. When expected.
|
||||
* the change will be consumed by the run method of the studio stop command */
|
||||
|
||||
if (g_studio.jack_graph_proxy == NULL)
|
||||
{
|
||||
log_error("Ignoring \"JACK stopped\" notification because it is already known that JACK is currently stopped.");
|
||||
return;
|
||||
}
|
||||
|
||||
if (g_studio.automatic)
|
||||
{
|
||||
log_info("Unloading automatic studio.");
|
||||
|
|
Loading…
Reference in New Issue