diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2018-05-15 15:34:58 -0700 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2018-05-24 16:02:20 -0700 |
commit | 2894a2e3c3786e707fa736c64c59d73520fbba82 (patch) | |
tree | 26792c0a4bf93148522d12a31df87cca303c6ccf /src/lib/ecore_file | |
parent | c49d2939151ee503b8bf0467066f85bbeb86adba (diff) |
ecore_file: on shutdown properly set to NULL to avoid confusion when cycling init/shutdown.
Diffstat (limited to '')
-rw-r--r-- | src/lib/ecore_file/ecore_file_monitor_inotify.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
108 | ecore_main_fd_handler_del(_fdh); | 108 | ecore_main_fd_handler_del(_fdh); |
109 | if (fd > -1) | 109 | if (fd > -1) |
110 | close(fd); | 110 | close(fd); |
111 | _fdh = NULL; | ||
111 | } | 112 | } |
112 | eina_hash_free(monitor_hash); | 113 | eina_hash_free(monitor_hash); |
113 | monitor_hash = NULL; | 114 | monitor_hash = NULL; |