[vlc-commits] lua: Don't deactivate the extension when failing to create its thread

Hugo Beauzée-Luyssen git at videolan.org
Thu Mar 30 13:56:32 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Mar 29 14:24:14 2017 +0200| [17648212c55170670387eb874d11e0531dfb2d26] | committer: Hugo Beauzée-Luyssen

lua: Don't deactivate the extension when failing to create its thread

This is a noop since b_exiting is true, but even if it wasn't, there's
no thread to pick up the command anyway.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=17648212c55170670387eb874d11e0531dfb2d26
---

 modules/lua/extension_thread.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/lua/extension_thread.c b/modules/lua/extension_thread.c
index c9fd60d..13b4221 100644
--- a/modules/lua/extension_thread.c
+++ b/modules/lua/extension_thread.c
@@ -81,8 +81,6 @@ int Activate( extensions_manager_t *p_mgr, extension_t *p_ext )
     {
         p_sys->b_exiting = true;
         p_sys->b_thread_running = false;
-        // Note: Automatically deactivating the extension...
-        Deactivate( p_mgr, p_ext );
         return VLC_ENOMEM;
     }
 



More information about the vlc-commits mailing list