[vlc-devel] [PATCH] libvlc_vlm_release : release events stuff

Rafaël Carré rafael.carre at gmail.com
Tue Jun 16 09:47:45 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Tue, 16 Jun 2009 09:10:50 +0200,
Sébastien Escudier <sebastien-devel at celeos.eu> a écrit :


> I don't
> know if callbacks need to be released before vlc exit ?

The callbacks are part of the variable they're attached to, and all the
variables are destroyed when an object is released (see
vlc_object_destroy and __var_Destroy in src/misc); so I think there is
no need to destroy them if your release the object.

- -- 
Rafaël Carré
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAko3TiEACgkQYWCeGMCv8Q/J3gCgsjb1xJsz7qL5Cv5POl5RxLmj
fMYAn121GppsL1FHz2WEnwbA7k4kuJdm
=8bx2
-----END PGP SIGNATURE-----


More information about the vlc-devel mailing list