summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2007-11-04 19:45:09 +0000
committerroot <root>2007-11-04 19:45:09 +0000
commitc04c7d0577ceddfe470b6fdcaf727ced91a67d1a (patch)
tree7aae857c1b460c6e5c00cdd337adb2fe8d904ed2 /ev.c
parentf776d56f36abeed4a6091c2ec9b96363213ce2b2 (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ev.c b/ev.c
index 7af2358..83c643a 100644
--- a/ev.c
+++ b/ev.c
@@ -796,6 +796,8 @@ timers_reify (EV_P)
{
struct ev_timer *w = timers [0];
+ assert (("inactive timer on timer heap detected", ev_is_active (w)));
+
/* first reschedule or stop timer */
if (w->repeat)
{
@@ -817,6 +819,8 @@ periodics_reify (EV_P)
{
struct ev_periodic *w = periodics [0];
+ assert (("inactive timer on periodic heap detected", ev_is_active (w)));
+
/* first reschedule or stop timer */
if (w->interval)
{