Wayland client, cleanup on exit
Guillermo Rodriguez
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!
BR,
Guillermo Rodriguez Garcia
guille.rodriguez at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20230404/94fef240/attachment.htm>
More information about the wayland-devel
mailing list