summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore/ecore_main.c
diff options
context:
space:
mode:
authorMike McCormack <mikem@ring3k.org>2011-07-07 11:37:02 +0000
committerMike McCormack <mikem@ring3k.org>2011-07-07 11:37:02 +0000
commit39c049c8d1cf61526c3a5905795f422dfa974e12 (patch)
tree37411e31f059852b19fef985c8dcf55cd25a9fe8 /legacy/ecore/src/lib/ecore/ecore_main.c
parent3c2f6cfbc945b93583d4c0b75972b8ff182343cf (diff)
ecore: Make sure signals break from the main loop
SVN revision: 61111
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore_main.c b/legacy/ecore/src/lib/ecore/ecore_main.c
index fe9cf8c625..bd8572552c 100644
--- a/legacy/ecore/src/lib/ecore/ecore_main.c
+++ b/legacy/ecore/src/lib/ecore/ecore_main.c
@@ -600,6 +600,10 @@ _ecore_main_gsource_check(GSource *source __UNUSED__)
600 ecore_fds_ready = (_ecore_main_fdh_glib_mark_active() > 0); 600 ecore_fds_ready = (_ecore_main_fdh_glib_mark_active() > 0);
601 _ecore_main_fd_handlers_cleanup(); 601 _ecore_main_fd_handlers_cleanup();
602 602
603 /* ^C perhaps? */
604 if (!ret && _ecore_signal_count_get() > 0)
605 ret = TRUE;
606
603 /* check timers after updating loop time */ 607 /* check timers after updating loop time */
604 _ecore_time_loop_time = ecore_time_get(); 608 _ecore_time_loop_time = ecore_time_get();
605 if (!ret && _ecore_timers_exists()) 609 if (!ret && _ecore_timers_exists())