[vlc-devel] commit: vlc_object_kill: cancel the thread ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Aug 27 22:57:29 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Jul  6 21:38:42 2008 +0300| [1cc00146619c1b99efdf8fe5128b45f14f24a731] | committer: Rémi Denis-Courmont 

vlc_object_kill: cancel the thread

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1cc00146619c1b99efdf8fe5128b45f14f24a731
---

 src/misc/objects.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/misc/objects.c b/src/misc/objects.c
index 70a46cd..951c5f9 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -584,6 +584,7 @@ void __vlc_object_kill( vlc_object_t *p_this )
     vlc_object_internals_t *priv = vlc_internals( p_this );
     int fd;
 
+    vlc_thread_cancel( p_this );
     vlc_object_lock( p_this );
     p_this->b_die = true;
 




More information about the vlc-devel mailing list