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.

Reply via email to