diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-09-08 18:14:14 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-09-08 18:14:14 +0000 |
commit | 9fc58606dba39016a66371a30c23c14799576731 (patch) | |
tree | 87b0aed27c2e9fd3816775ea44c9905281145b6d /amiga/object.c | |
parent | 7dd73c5b43084f801bf10f6173912e5b3ffbc11b (diff) | |
download | netsurf-9fc58606dba39016a66371a30c23c14799576731.tar.gz netsurf-9fc58606dba39016a66371a30c23c14799576731.tar.bz2 |
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
Diffstat (limited to 'amiga/object.c')
-rwxr-xr-x | amiga/object.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <exec/lists.h> #include <exec/nodes.h> #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; } |