daemon: fit app search by pid that got broken in 454346ce65
This commit is contained in:
parent
22aa3feb67
commit
06fa6965b4
|
@ -116,7 +116,10 @@ char * get_app_name(struct virtualizer * virtualizer_ptr, uint64_t client_id, pi
|
|||
context.pid = (pid_t)pid;
|
||||
context.app_name = NULL;
|
||||
|
||||
studio_iterate_virtual_graphs(&context, get_app_name_from_supervisor);
|
||||
if (pid != 0) /* skip internal clients that will match the pending clients in the graph, both have zero pid */
|
||||
{
|
||||
studio_iterate_virtual_graphs(&context, get_app_name_from_supervisor);
|
||||
}
|
||||
|
||||
if (context.app_name != NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue