[vlc-devel] commit: Fix release of chroma module in voutcore.Istill get an " object is not (Antoine Cellerier )

Antoine Cellerier dionoea at videolan.org
Mon Jun 23 17:34:36 CEST 2008

On Mon, Jun 23, 2008, Remi Denis-Courmont wrote:
> The (parent) object reference count reaches 0, due to one more
> vlc_object_release() than vlc_object_yield(). The parent object is then
> "atomically" removed from the global object list, unlinked from its parent
> (if it has one), and from its children (if any). _After_ that, the
> destructor callback is invoked (if set). Finally, the object is actually
> destroyed.
> Hence, if you are calling vlc_object_detach() from the destructor
> _callback_ (as set by vlc_object_set_destructor IIRC) of your own parent,
> it will always fail. Detaching will have been done automatically
> beforehand. Unless you want to use var_Get(), this should be a non-issue.

Ok, makes sense. I'll just remove the 2 detach calls.

Antoine Cellerier

More information about the vlc-devel mailing list