From 2894a2e3c3786e707fa736c64c59d73520fbba82 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Tue, 15 May 2018 15:34:58 -0700 Subject: 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(+) (limited to 'src/lib/ecore_file/ecore_file_monitor_inotify.c') 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; -- cgit v1.2.1