[vlc-devel] commit: Don't try to close a handle already closed (Geoffroy Couprie )
git version control
git at videolan.org
Thu Sep 11 12:12:17 CEST 2008
vlc | branch: master | Geoffroy Couprie <geo.couprie at gmail.com> | Thu Sep 11 11:21:45 2008 +0200| [1a23bfc17cf07a988056828887233e53b4056426] | committer: Geoffroy Couprie
Don't try to close a handle already closed
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1a23bfc17cf07a988056828887233e53b4056426
---
src/misc/objects.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/misc/objects.c b/src/misc/objects.c
index 2db5941..fb0020f 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -314,12 +314,6 @@ static void vlc_object_destroy( vlc_object_t *p_this )
FREENULL( p_this->psz_object_name );
-#if defined(WIN32) || defined(UNDER_CE)
- /* if object has an associated thread, close it now */
- if( p_priv->thread_id )
- CloseHandle(p_priv->thread_id);
-#endif
-
vlc_spin_destroy( &p_priv->ref_spin );
vlc_mutex_destroy( &p_priv->lock );
vlc_cond_destroy( &p_priv->wait );
More information about the vlc-devel
mailing list