Commit b29deba6 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

lua: remove variable callback

Close #5271, #5430
parent 50036f11
...@@ -99,7 +99,7 @@ static void inputItemMetaChanged( const vlc_event_t *p_event, ...@@ -99,7 +99,7 @@ static void inputItemMetaChanged( const vlc_event_t *p_event,
**/ **/
int Open_Extension( vlc_object_t *p_this ) int Open_Extension( vlc_object_t *p_this )
{ {
msg_Dbg( p_this, "Opening EXPERIMENTAL Lua Extension module" ); msg_Dbg( p_this, "Opening Lua Extension module" );
extensions_manager_t *p_mgr = ( extensions_manager_t* ) p_this; extensions_manager_t *p_mgr = ( extensions_manager_t* ) p_this;
...@@ -189,6 +189,9 @@ void Close_Extension( vlc_object_t *p_this ) ...@@ -189,6 +189,9 @@ void Close_Extension( vlc_object_t *p_this )
FOREACH_END() FOREACH_END()
ARRAY_RESET( p_mgr->extensions ); ARRAY_RESET( p_mgr->extensions );
var_DelCallback( p_this, "dialog-event",
vlclua_extension_dialog_callback, NULL );
} }
/** /**
......
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