Commit ca960c2e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Win32: also cleanup thread variable on cancellation

parent 444f3258
...@@ -724,6 +724,7 @@ void vlc_testcancel (void) ...@@ -724,6 +724,7 @@ void vlc_testcancel (void)
{ {
for (vlc_cleanup_t *p = nfo->cleaners; p != NULL; p = p->next) for (vlc_cleanup_t *p = nfo->cleaners; p != NULL; p = p->next)
p->proc (p->data); p->proc (p->data);
vlc_threadvar_cleanup ();
#ifndef UNDER_CE #ifndef UNDER_CE
_endthreadex(0); _endthreadex(0);
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment