diff options
Diffstat (limited to 'src/myTimer.c')
| -rw-r--r-- | src/myTimer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/myTimer.c b/src/myTimer.c index 1faca9b..1a73384 100644 --- a/src/myTimer.c +++ b/src/myTimer.c @@ -62,6 +62,12 @@ void eventTimer() if( currentTime >= thisTimer->time ) { thisTimer->fce(thisTimer->arg); + + if( isTimerInit == FALSE ) + { + return; + } + delListItem(listTime, i, free); i--; } |