Change-Id: I3d2540cc97eabab1b64f044819374c16d53ed7e7
}
}
+static void
+_e_info_server_module_hook_cleanup(void)
+{
+ E_Info_Hook *hdata;
+
+ EINA_LIST_FREE(module_hook, hdata)
+ {
+ eina_stringshare_del(hdata->module_name);
+ E_FREE(hdata);
+ }
+}
+
/* a hook with given name(module_name) is defined by plug-in modules*/
E_API void
e_info_server_hook_set(const char *module_name, E_Info_Hook_Cb func, void *data)
e_info_dump_count = 0;
e_info_dump_running = 0;
+ if (module_hook) _e_info_server_module_hook_cleanup();
+
e_info_protocol_shutdown();
eldbus_shutdown();