[vlc-devel] VLC crashes when vlc_object_destroy is called

Remi Denis-Courmont rdenis at simphalempin.com
Mon Nov 12 09:00:03 CET 2007


On Sun, 11 Nov 2007 22:05:43 -0600, "Sachin K" <sachinutd at gmail.com> wrote:
> I have created an object, which has a mutex and a thread associated with
> it.
> 
> When cleaning up I am destroying the mutex and exiting from the
> thread. But when I call vlc_object_destroy() on my object, VLC
> crashes.
> 
> What else do I need to do before calling vlc_object_destroy()?

Release all reference to it, and detach it from its would-be parent.

-- 
Rémi Denis-Courmont
http://www.remlab.net




More information about the vlc-devel mailing list