remove redundant code to unload all modules, it seems to fix the heisenbug definitively enna
authorMathieu Schroeter <mathieu.schroeter@mycable.ch>
Tue Sep 02 13:57:44 2008 +0200 (2 years ago)
branchenna
changeset 301381aaf0d3c62
parent 30034eeb29a2791
child 302c87b6eb10867
remove redundant code to unload all modules, it seems to fix the heisenbug definitively
src/bin/module.c
       1 --- a/src/bin/module.c	Mon Sep 01 23:56:04 2008 +0200
       2 +++ b/src/bin/module.c	Tue Sep 02 13:57:44 2008 +0200
       3 @@ -61,26 +61,6 @@
       4  {
       5     Evas_List *l;
       6  
       7 -    for (l = _enna_modules; l; l = evas_list_remove(l, l->data))
       8 -        {
       9 -            Enna_Module *m;
      10 -            m = l->data;
      11 -            if (m->enabled)
      12 -                {
      13 -                    if (m->func.shutdown)
      14 -                        m->func.shutdown(m);
      15 -                    m->enabled = 0;
      16 -                }
      17 -            ecore_plugin_unload(m->plugin);
      18 -	    free(m);
      19 -        }
      20 -
      21 -
      22 -    if (path_group)
      23 -        {
      24 -            ecore_path_group_del(path_group);
      25 -            path_group = NULL;
      26 -        }
      27     for (l = _enna_modules; l; l = evas_list_remove(l, l->data))
      28       {
      29  	Enna_Module *m;