Not releasing/cleaning up clients by wl_client_destroy() upon wl_display_destroy()
Submitted by Vivek.A
Assigned to Wayland bug list
This causes all the file descriptors to be kept open till the process hosting the compositor is terminated / exit. So the client side we can't monitor if the compositor has terminated (i.e by checking the display->fd).
This problem is observed when running/contolling compositor as a separate thread.