I was playing with time.addEvent of this example but there is something puzzling regarding the removal of the event. Although either of the two methods below
timedEvent.remove(false);
timedEvent.destroy();
will stop the event to tick, if you
console.log (timedEvent);
right after the remove or destroy methods, the event still will show up while I think that it should return undefined instead. It’s clear to me that both methods actually won’t clear it from the memory.
Does it wave to the fact that we should be very carefull when using timers?