diff audacious/pluginenum.c @ 2079:78002535143b trunk

[svn] remove plugin-reactivation loops for general and visualization plugins in plugin_system_cleanup(). it occasionally had prevented plugins' own cleanup routines working correctly.
author yaz
date Mon, 11 Dec 2006 02:17:12 -0800
parents 94a720c9bfef
children 425963ded156
line wrap: on
line diff
--- a/audacious/pluginenum.c	Mon Dec 11 01:56:42 2006 -0800
+++ b/audacious/pluginenum.c	Mon Dec 11 02:17:12 2006 -0800
@@ -430,6 +430,7 @@
     if (ep_data.effect_list)
         g_list_free(ep_data.effect_list);
 
+#if 0
     for (node = get_general_enabled_list(); node; node = g_list_next(node)) {
         gp = GENERAL_PLUGIN(node->data);
         enable_general_plugin(g_list_index(gp_data.general_list, gp), FALSE);
@@ -441,6 +442,7 @@
     GDK_THREADS_LEAVE();
     while (g_main_iteration(FALSE));
     GDK_THREADS_ENTER();
+#endif
 
     for (node = get_general_list(); node; node = g_list_next(node)) {
         gp = GENERAL_PLUGIN(node->data);
@@ -456,6 +458,7 @@
     if (gp_data.general_list)
         g_list_free(gp_data.general_list);
 
+#if 0
     for (node = get_vis_enabled_list(); node; node = g_list_next(node)) {
         vp = VIS_PLUGIN(node->data);
         enable_vis_plugin(g_list_index(vp_data.vis_list, vp), FALSE);
@@ -467,6 +470,7 @@
     GDK_THREADS_LEAVE();
     while (g_main_iteration(FALSE));
     GDK_THREADS_ENTER();
+#endif
 
     for (node = get_vis_list(); node; node = g_list_next(node)) {
         vp = VIS_PLUGIN(node->data);