Commit 17648212 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

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.
parent 451b18c4
...@@ -81,8 +81,6 @@ int Activate( extensions_manager_t *p_mgr, extension_t *p_ext ) ...@@ -81,8 +81,6 @@ int Activate( extensions_manager_t *p_mgr, extension_t *p_ext )
{ {
p_sys->b_exiting = true; p_sys->b_exiting = true;
p_sys->b_thread_running = false; p_sys->b_thread_running = false;
// Note: Automatically deactivating the extension...
Deactivate( p_mgr, p_ext );
return VLC_ENOMEM; return VLC_ENOMEM;
} }
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