SyntaxFix
Write A Post
Hire A Developer
Questions
timer.cancel(); //Terminates this timer,discarding any currently scheduled tasks. timer.purge(); // Removes all cancelled tasks from this timer's task queue.