- From: Sam Couter <eddie@topic.com.au>
- Date: Thu, 16 Dec 1999 10:38:08 +1100
- To: www-lib@w3.org
Short patch, to avoid infinite event loop madness when HTTimer_next() calls
callbacks that call HTEventLoop_stopLoop().
If someone with CVS write access could check this in, I'd appreciate it.
diff -u -r2.41 HTEvtLst.c
--- HTEvtLst.c 1999/07/07 15:43:28 2.41
+++ HTEvtLst.c 1999/12/15 23:32:32
@@ -664,6 +664,8 @@
wt = NULL;
if ((status = HTTimer_next(&timeout)))
break;
+ if (HTEndLoop)
+ break;
if (timeout != 0) {
waittime.tv_sec = timeout / MILLI_PER_SECOND;
waittime.tv_usec = (timeout % MILLI_PER_SECOND) *
--
Sam Couter sam@topic.com.au
Internet Engineer
tSA Consulting
Received on Wednesday, 15 December 1999 18:38:15 UTC