Commit 925b2255 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

lua: Don't crash when reactivating an extension.

Close #5019
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 0bade2cde2129fb7b719fd48a89190bcd3d5c650)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent ba1684f7
......@@ -590,6 +590,7 @@ int lua_ExtensionDeactivate( extensions_manager_t *p_mgr, extension_t *p_ext )
vlc_gc_decref( p_item );
}
vlc_object_release( p_ext->p_sys->p_input );
p_ext->p_sys->p_input = NULL;
}
int i_ret = lua_ExecuteFunction( p_mgr, p_ext, "deactivate", LUA_END );
......
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