summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-12-19 13:44:33 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-19 13:44:33 +0900
commitc8a28b9780397e513dc59ea377362028645f6001 (patch)
tree443036f8b9cb80a81d724f43060013233534ed3b /src/lib
parentcb20ad9f5360a9d31ed7e820d9524f1234c00026 (diff)
ecore: Properly shutdown pollers
Diffstat (limited to '')
-rw-r--r--src/lib/ecore/ecore_poller.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/ecore/ecore_poller.c b/src/lib/ecore/ecore_poller.c
index 2b6344e9a1..3993e6e8dd 100644
--- a/src/lib/ecore/ecore_poller.c
+++ b/src/lib/ecore/ecore_poller.c
@@ -365,5 +365,21 @@ _ecore_poller_shutdown(void)
365 { 365 {
366 while ((poller = pollers[i])) 366 while ((poller = pollers[i]))
367 _ecore_poller_cleanup(poller); 367 _ecore_poller_cleanup(poller);
368 poller_counters[i] = 0;
368 } 369 }
370
371 if (timer)
372 {
373 ecore_timer_del(timer);
374 timer = NULL;
375 }
376 min_interval = -1;
377 interval_incr = 0;
378 at_tick = 0;
379 just_added_poller = 0;
380 poller_delete_count = 0;
381 poller_walking = 0;
382 poll_interval = 0.125;
383 poll_cur_interval = 0.0;
384 last_tick = 0.0;
369} 385}