cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2894a2e3c3786e707fa736c64c59d73520fbba82

commit 2894a2e3c3786e707fa736c64c59d73520fbba82
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Tue May 15 15:34:58 2018 -0700

    ecore_file: on shutdown properly set to NULL to avoid confusion when 
cycling init/shutdown.
---
 src/lib/ecore_file/ecore_file_monitor_inotify.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/ecore_file/ecore_file_monitor_inotify.c 
b/src/lib/ecore_file/ecore_file_monitor_inotify.c
index d13eb2719d..988893de4f 100644
--- a/src/lib/ecore_file/ecore_file_monitor_inotify.c
+++ b/src/lib/ecore_file/ecore_file_monitor_inotify.c
@@ -108,6 +108,7 @@ ecore_file_monitor_backend_shutdown(void)
         ecore_main_fd_handler_del(_fdh);
         if (fd > -1)
           close(fd);
+        _fdh = NULL;
      }
    eina_hash_free(monitor_hash);
    monitor_hash = NULL;

-- 


Reply via email to