close after del fd handler
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 30 Jul 2010 02:42:17 +0000 (02:42 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 30 Jul 2010 02:42:17 +0000 (02:42 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50667 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_con/ecore_con_info.c

index 840facb..cd82966 100644 (file)
@@ -369,8 +369,8 @@ _ecore_con_info_slave_free(CB_Data *cbdata)
 {
    info_slaves = (CB_Data *)eina_inlist_remove(EINA_INLIST_GET(info_slaves),
                                                EINA_INLIST_GET(cbdata));
-   close(ecore_main_fd_handler_fd_get(cbdata->fdh));
    ecore_main_fd_handler_del(cbdata->fdh);
+   close(ecore_main_fd_handler_fd_get(cbdata->fdh));
    ecore_event_handler_del(cbdata->handler);
    free(cbdata);
 }