[vlc-devel] [PATCH]Invalid handle error while releasing an object

Rémi Denis-Courmont rdenis at simphalempin.com
Thu Sep 11 11:43:24 CEST 2008


On Thu, 11 Sep 2008 11:27:44 +0200, "Geoffroy Couprie"
<geo.couprie at gmail.com> wrote:
> In many parts of the code, we can see this:
> vlc_thread_join(vlc_object_pouet);
> 
> followed by
> 
> vlc_object_release(vlc_object_pouet)
> 
> In vlc_object_release, there's some Win32 only code that try to close
> once more the handle to the thread (which causes an invalid handle
> error, since the handle was closed in vlc_join), although there's an
> assert here to verify that the thread is already closed.
> 
> Any objection?

Indeed, that old code should be removed.

Acked-by: Rémi Denis-Courmont.

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list