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

Lua: intf: fix cancellation handling

The target thread has no defined cancellation points, so simply remove
the vlc_cancel() call. (Adding vlc_savecancel() would work to the same
effects, but with extra code.)
parent cb3f5dd2
...@@ -381,7 +381,6 @@ void Close_LuaIntf( vlc_object_t *p_this ) ...@@ -381,7 +381,6 @@ void Close_LuaIntf( vlc_object_t *p_this )
intf_thread_t *p_intf = (intf_thread_t*)p_this; intf_thread_t *p_intf = (intf_thread_t*)p_this;
intf_sys_t *p_sys = p_intf->p_sys; intf_sys_t *p_sys = p_intf->p_sys;
vlc_cancel( p_sys->thread );
vlc_join( p_sys->thread, NULL ); vlc_join( p_sys->thread, NULL );
lua_close( p_sys->L ); lua_close( p_sys->L );
......
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