[vlc-devel] libvlcjni.c little patch

Ludovic Fauvet etix at l0cal.com
Fri May 27 17:53:55 CEST 2011


On Fri, May 27, 2011 at 5:36 PM, XilasZ <xilasz at gmail.com> wrote:
> About events, they are attached, but shouldn't they be detached at some
> point ?

Yes, it should probably be nulled/detached in the onDestroy() method
of the Activity.

> I also noticed eventManager ref is never release.

Indeed I missed the DeleteGlobalRef, I assumed that it would be
destroyed by the VM automatically but this is only true for local refs.
Thanks for pointing this out :-)

-- 
Ludovic Fauvet (etix)



More information about the vlc-devel mailing list