On Fri, 29 Sep 2017 21:20:13 +0100
Daniel Stone <[email protected]> wrote:

> On 29 September 2017 at 19:46, Derek Foreman <[email protected]> wrote:
> > I've heard some complaints that wl_display.get_registry "leaks"
> > server memory because wl_registry has no destructor.  While this isn't
> > strictly true - all those resources are freed when the client
> > disconnects - it's a bit of a gotcha for neophytes.
> >
> > Since wl_registry's version is not requested in any way through
> > wl_display.get_registry, we can't add a destructor request without
> > breaking ABI.  So let's be a little more clear about the result
> > of getting too many wl_registry objects.
> >
> > Signed-off-by: Derek Foreman <[email protected]>  
> 
> Reviewed-by: Daniel Stone <[email protected]>

R-b me as well and pushed:
   5bb8268..f6bbc97  master -> master


Another downside of creating extra wl_registry objects is that when
globals are added and removed, the events are sent to all objects, dead
or alive in the client.


Thanks,
pq

Attachment: pgp76a60ORcgn.pgp
Description: OpenPGP digital signature

_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to