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

Geoffroy Couprie geo.couprie at gmail.com
Thu Sep 11 11:27:44 CEST 2008


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?

Regards,

Geoffroy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Don-t-try-to-close-a-handle-already-closed.patch
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080911/bd9457b8/attachment.ksh>


More information about the vlc-devel mailing list