[vlc-devel] commit: macosx: Make sure the killer_thread ends. (Pierre d'Herbemont )

git version control git at videolan.org
Fri May 30 21:12:09 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Fri May 30 20:52:25 2008 +0200| [a7aecc25db75993d860e8002993881155d6f73d1]

macosx: Make sure the killer_thread ends.

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

 modules/gui/macosx/intf.m |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 6a252d5..1af4c71 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -195,6 +195,8 @@ static void Run( intf_thread_t *p_intf )
     if(setjmp(jmpbuffer) == 0)
         [NSApp run];
 
+    pthread_join( &killer_thread, NULL );
+
     [o_pool release];
 }
 




More information about the vlc-devel mailing list