daemon: properly count number of owned jack clients

jmcore clients are not counted on appear so they should not be counted on disappear too
This commit is contained in:
Nedko Arnaudov 2010-05-09 15:48:27 +03:00
parent cb85e85b03
commit b82728b36a
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ static void client_disappeared(void * context, uint64_t id)
}
pid = ladish_client_get_pid(client);
if (pid != 0)
if (pid != 0 && pid != jmcore_proxy_get_pid_cached())
{
virtualizer_ptr->our_clients_count--;
}