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
This commit is contained in:
Mike Blumenkrantz 2018-06-26 16:38:20 -04:00 committed by Marcel Hollerbach
parent b455617500
commit 4987fd4ab8
1 changed files with 3 additions and 3 deletions

View File

@ -280,13 +280,10 @@ _eio_monitor_fallback_timer_cb(void *data)
&& !defined HAVE_NOTIFY_KEVENT
void eio_monitor_backend_init(void)
{
timer_hash = eina_hash_pointer_new(NULL);
}
void eio_monitor_backend_shutdown(void)
{
eina_hash_free(timer_hash);
timer_hash = NULL;
}
void eio_monitor_backend_add(Eio_Monitor *monitor)
@ -303,11 +300,14 @@ void eio_monitor_backend_del(Eio_Monitor *monitor)
void
eio_monitor_fallback_init(void)
{
timer_hash = eina_hash_pointer_new(NULL);
}
void
eio_monitor_fallback_shutdown(void)
{
eina_hash_free(timer_hash);
timer_hash = NULL;
}
void