diff options
Diffstat (limited to 'atari')
-rwxr-xr-x | atari/schedule.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/atari/schedule.c b/atari/schedule.c index c16572ea8..579048e3f 100755 --- a/atari/schedule.c +++ b/atari/schedule.c @@ -58,6 +58,13 @@ struct nscallback void schedule( int cs_ival, void (*callback)(void *p), void *p) { struct nscallback *nscb; + + /* + remove any callback of this kind, + other frontend do this, too. framebuffer frontend doesn't do it. + */ + schedule_remove(callback, p); + nscb = calloc(1, sizeof(struct nscallback)); nscb->timeout = CS_NOW() + cs_ival; |