And delete the handlers when shutdown.
authorChristopher Michael <cpmichael1@comcast.net>
Fri, 20 Nov 2009 16:06:13 +0000 (16:06 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Fri, 20 Nov 2009 16:06:13 +0000 (16:06 +0000)
SVN revision: 43823

src/modules/illume-home/e_mod_main.c

index 2887a04..54e4901 100644 (file)
@@ -100,6 +100,8 @@ e_modapi_init(E_Module *m)
 EAPI int 
 e_modapi_shutdown(E_Module *m) 
 {
+   Ecore_Event_Handler *handle;
+
    if (busycover) 
      {
         e_object_del(E_OBJECT(busycover));
@@ -107,6 +109,9 @@ e_modapi_shutdown(E_Module *m)
      }
    e_busycover_shutdown();
 
+   EINA_LIST_FREE(handlers, handle)
+     ecore_event_handler_del(handle);
+
    e_gadcon_provider_unregister(&_gc_class);
 
    il_home_config_shutdown();