Wayland client, cleanup on exit
guillerodriguez.dev at gmail.com
Tue Apr 4 11:33:27 UTC 2023
El mar, 4 abr 2023 a las 13:28, Simon Ser (<contact at emersion.fr>) escribió:
> On Tuesday, April 4th, 2023 at 13:26, Guillermo Rodriguez <
> guillerodriguez.dev at 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!
Guillermo Rodriguez Garcia
guille.rodriguez at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wayland-devel