[PATCH v2] server: add wl_display_destroy_clients()

Daniel Stone daniel at fooishbar.org
Fri Feb 9 17:00:39 UTC 2018


Hi Simon,

On 13 December 2017 at 10:51, emersion <contact at emersion.fr> wrote:
> Bug [1] reported that wl_display_destroy() doesn't destroy clients, so
> client socket file descriptors are being kept open until the compositor
> process exits.
>
> Patch [2] proposed to destroy clients in wl_display_destroy(). The
> patch was not accepted because doing so changes the ABI.
>
> Thus, a new wl_display_destroy_clients() function is added in this
> patch. It should be called by compositors right before
> wl_display_destroy().

Thanks a lot for this! I've pushed it now with Pekka's review.

Cheers,
Daniel


More information about the wayland-devel mailing list