summaryrefslogtreecommitdiff
path: root/src/lib/eio
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-06-26 16:38:20 -0400
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-06-28 18:08:45 +0200
commit4987fd4ab839a4d2acbcf63c056eade681aa92bd (patch)
treeb18f8e7200b53b289d7e21e5a2413371dc5ee7f3 /src/lib/eio
parentb45561750039792a8d8c8def76f1bdc4812b962f (diff)
eio/fallback: always create timer hash on fallback init
this is a required call in order for the fallback system to work Differential Revision: https://phab.enlightenment.org/D6439
Diffstat (limited to 'src/lib/eio')
-rw-r--r--src/lib/eio/eio_monitor_poll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eio/eio_monitor_poll.c b/src/lib/eio/eio_monitor_poll.c
index be27eaaf75..ec0a2031d3 100644
--- a/src/lib/eio/eio_monitor_poll.c
+++ b/src/lib/eio/eio_monitor_poll.c
@@ -280,13 +280,10 @@ _eio_monitor_fallback_timer_cb(void *data)
280 && !defined HAVE_NOTIFY_KEVENT 280 && !defined HAVE_NOTIFY_KEVENT
281void eio_monitor_backend_init(void) 281void eio_monitor_backend_init(void)
282{ 282{
283 timer_hash = eina_hash_pointer_new(NULL);
284} 283}
285 284
286void eio_monitor_backend_shutdown(void) 285void eio_monitor_backend_shutdown(void)
287{ 286{
288 eina_hash_free(timer_hash);
289 timer_hash = NULL;
290} 287}
291 288
292void eio_monitor_backend_add(Eio_Monitor *monitor) 289void eio_monitor_backend_add(Eio_Monitor *monitor)
@@ -303,11 +300,14 @@ void eio_monitor_backend_del(Eio_Monitor *monitor)
303void 300void
304eio_monitor_fallback_init(void) 301eio_monitor_fallback_init(void)
305{ 302{
303 timer_hash = eina_hash_pointer_new(NULL);
306} 304}
307 305
308void 306void
309eio_monitor_fallback_shutdown(void) 307eio_monitor_fallback_shutdown(void)
310{ 308{
309 eina_hash_free(timer_hash);
310 timer_hash = NULL;
311} 311}
312 312
313void 313void