From 9fc58606dba39016a66371a30c23c14799576731 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 8 Sep 2008 18:14:14 +0000 Subject: Scheduled events now signal when the scheduled time has passed. The timer appears to stop signalling events occasionally - needs some investigation. svn path=/trunk/netsurf/; revision=5287 --- amiga/object.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'amiga/object.c') diff --git a/amiga/object.c b/amiga/object.c index 32886fe89..f13451bfb 100755 --- a/amiga/object.c +++ b/amiga/object.c @@ -20,6 +20,7 @@ #include #include #include "amiga/object.h" +#include "amiga/schedule.h" struct MinList *NewObjList(void) { @@ -64,6 +65,9 @@ void FreeObjList(struct MinList *objlist) while(nnode=(struct nsObject *)(node->dtz_Node.mln_Succ)) { + if(node->Type == AMINS_CALLBACK) + ami_remove_timer_event((struct nscallback *)node->objstruct); + DelObject(node); node=nnode; } -- cgit v1.2.3