El mar, 4 abr 2023 a las 13:28, Simon Ser (<cont...@emersion.fr>) escribió:

> On Tuesday, April 4th, 2023 at 13:26, Guillermo Rodriguez <
> guillerodriguez....@gmail.com> wrote:
>
> > Out of curiosity, for objects that are only released when a client
> > disconnects (such as wl_registry), how does the Wayland server know
> > how to release this if the client does not disconnect explicitly. in
> > other words how is the resource leak on the server side avoided if the
> > client just exits and the OS cleans up?
>
> libwayland-server notices that the socket is disconnected and cleans up
> all Wayland objects belonging to it.
>

Understood, thank you!

BR,

Guillermo Rodriguez Garcia
guille.rodrig...@gmail.com

Reply via email to