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) | |
download | efl-2894a2e3c3786e707fa736c64c59d73520fbba82.tar.gz |
ecore_file: on shutdown properly set to NULL to avoid confusion when cycling init/shutdown.
Diffstat (limited to 'src/lib/ecore_file')
-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) ecore_main_fd_handler_del(_fdh); if (fd > -1) close(fd); + _fdh = NULL; } eina_hash_free(monitor_hash); monitor_hash = NULL; |