mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-07 03:56:28 +02:00
vlccore: pass a proper argument to vlc_cancel_self() in vlc_testcancel()
This fixes the problem that SAP hangs on even if it has been canceled. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
This commit is contained in:
parent
5f2c31f4c1
commit
cfe2c864c2
@ -605,7 +605,7 @@ void vlc_testcancel (void)
|
||||
/* This check is needed for the case that vlc_cancel() is followed by
|
||||
* vlc_testcancel() without any cancellation point */
|
||||
if( DosWaitEventSem( th->cancel_event, 0 ) == NO_ERROR )
|
||||
vlc_cancel_self( NULL );
|
||||
vlc_cancel_self( th );
|
||||
|
||||
if (th->killable && th->killed)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user