Trouble with Timers

I have a table of timers I create like so:

for k,v in pairs(delayLengths) do
          table.insert(theTimers, timer.performWithDelay(v, function() createBlock(100,21) end))
        end

And then during my pause function I do this:

for i = #theTimers,1,-1 do timer.pause( theTimers[i] ) end

And during unpause:

for i = #theTimers,1,-1 do timer.resume( theTimers[i] ) end

But this isn’t working. The blocks aren’t spawning when they should. Instead, none of them spawn for a little bit but then a bunch spawn at once. Some other timers for other tasks I have in place stop working as well, and some event Listeners are late to react after pause.  I assume it is some kind of performance issue. Any ideas?

Hello misterk6, I see it has been many months since you posted this question.  I am seeing similar behavior in one of my Corona apps.  While I am not creating a bunch of timers in a loop like you are, I do have many timers (i am not sure of the exact count).

Does this problem reproduce when you have a small number of timers created?  I have not been able to reproduce the behavior in small sample projects I have tried to create to demonstrate the issue.

What is the minimum number of timers you need to create to reproduce the problem?

I would be interested in any information you have or if you found a solution to this problem, as I have not.

Hello misterk6, I see it has been many months since you posted this question.  I am seeing similar behavior in one of my Corona apps.  While I am not creating a bunch of timers in a loop like you are, I do have many timers (i am not sure of the exact count).

Does this problem reproduce when you have a small number of timers created?  I have not been able to reproduce the behavior in small sample projects I have tried to create to demonstrate the issue.

What is the minimum number of timers you need to create to reproduce the problem?

I would be interested in any information you have or if you found a solution to this problem, as I have not.