From: RĂ©mi Denis-Courmont Date: Wed, 3 Sep 2008 19:32:15 +0000 (+0300) Subject: De-inhibit cancellation in interface threads X-Git-Tag: 1.0.0-pre1~3585 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=538b9eb990c673ab750171d05054b0beb19216f7;p=vlc De-inhibit cancellation in interface threads --- diff --git a/src/interface/interface.c b/src/interface/interface.c index 2b412d6760..55559fd4c6 100644 --- a/src/interface/interface.c +++ b/src/interface/interface.c @@ -221,12 +221,12 @@ static void* RunInterface( vlc_object_t *p_this ) var_Change( p_intf, "intf-add", VLC_VAR_ADDCHOICE, &val, &text ); var_AddCallback( p_intf, "intf-add", AddIntfCallback, NULL ); + vlc_restorecancel (canc); /* Give control to the interface */ if( p_intf->pf_run ) p_intf->pf_run( p_intf ); - vlc_restorecancel (canc); return NULL; }