[vlc-commits] commit: Win32: also cleanup thread variable on cancellation ( =?UTF-8?Q?R=C3=A9mi=20Denis=2DCourmont=20?=)

git at videolan.org git at videolan.org
Tue Nov 23 22:46:43 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Nov 23 23:36:03 2010 +0200| [ca960c2e0c2371a7fd63735cee114f45ddd4172e] | committer: Rémi Denis-Courmont 

Win32: also cleanup thread variable on cancellation

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

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

diff --git a/src/win32/thread.c b/src/win32/thread.c
index 9905652..8552ea7 100644
--- a/src/win32/thread.c
+++ b/src/win32/thread.c
@@ -724,6 +724,7 @@ void vlc_testcancel (void)
     {
         for (vlc_cleanup_t *p = nfo->cleaners; p != NULL; p = p->next)
              p->proc (p->data);
+        vlc_threadvar_cleanup ();
 #ifndef UNDER_CE
         _endthreadex(0);
 #else



More information about the vlc-commits mailing list