forked from enlightenment/enlightenment
add SA_NOCLDWAIT to SIGCHLD flags when xwayland module loads
pulseaudio uses waitpid internally and will deadlock if ecore-audio performs a deferred connect
This commit is contained in:
parent
3178064d30
commit
66a3fcb013
|
@ -448,6 +448,11 @@ E_API E_Module_Api e_modapi = { E_MODULE_API_VERSION, "XWayland" };
|
|||
E_API void *
|
||||
e_modapi_init(E_Module *m)
|
||||
{
|
||||
struct sigaction sa;
|
||||
|
||||
sigaction(SIGCHLD, NULL, &sa);
|
||||
sa.sa_flags |= SA_NOCLDWAIT;
|
||||
sigaction(SIGCHLD, &sa, NULL);
|
||||
return xwl_init(m);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue