Commit daafd8f2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

libvlc: deinit actions in reverse order of init

parent a90f4bb0
......@@ -614,6 +614,8 @@ void libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
}
#endif
vlc_DeinitActions( p_libvlc, priv->actions );
/* Save the configuration */
if( !var_InheritBool( p_libvlc, "ignore-config" ) )
config_AutoSaveConfigFile( VLC_OBJECT(p_libvlc) );
......@@ -621,7 +623,6 @@ void libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
/* Free module bank. It is refcounted, so we call this each time */
module_EndBank (true);
vlc_DeinitActions( p_libvlc, priv->actions );
#if defined(WIN32) || defined(__OS2__)
system_End( );
#endif
......
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