[vlc-commits] Lua: intf: fix cancellation handling
Rémi Denis-Courmont
git at videolan.org
Sun Jun 16 16:47:04 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jun 16 17:39:48 2013 +0300| [5730213041c854d77818f04a6b39b1e118c8d2a8] | committer: 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.)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5730213041c854d77818f04a6b39b1e118c8d2a8
---
modules/lua/intf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/lua/intf.c b/modules/lua/intf.c
index 2f8d91f..ade62d3 100644
--- a/modules/lua/intf.c
+++ b/modules/lua/intf.c
@@ -381,7 +381,6 @@ void Close_LuaIntf( vlc_object_t *p_this )
intf_thread_t *p_intf = (intf_thread_t*)p_this;
intf_sys_t *p_sys = p_intf->p_sys;
- vlc_cancel( p_sys->thread );
vlc_join( p_sys->thread, NULL );
lua_close( p_sys->L );
More information about the vlc-commits
mailing list