Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore
Modified Files:
ecore_main.c
Log Message:
more agressive quit...
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_main.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ecore_main.c 8 May 2004 04:44:03 -0000 1.9
+++ ecore_main.c 13 May 2004 03:20:13 -0000 1.10
@@ -459,6 +459,11 @@
_ecore_fps_debug_runtime_add(t2 - t1);
}
start_loop:
+ if (do_quit)
+ {
+ in_main_loop--;
+ return;
+ }
/* init flags */
have_event = have_signal = 0;
next_time = _ecore_timer_next_get();
@@ -489,6 +494,7 @@
if (have_event || have_signal) break;
next_time = _ecore_timer_next_get();
if (next_time >= 0) goto start_loop;
+ if (do_quit) break;
}
}
}
@@ -523,6 +529,7 @@
if (t >= next_time) break;
next_time = _ecore_timer_next_get();
if (next_time < 0) goto start_loop;
+ if (do_quit) break;
}
}
}
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs