Hi,
I made the test with the code below:
local p = false
local function test()
print("hello")
end
a = timer.performWithDelay(4000, test, 0)
local function pauseMe(e)
if e.phase == "began" then
if p == false then
timer.pause(a)
print("timer has been paused")
p = true
else
timer.resume(a)
print("timer has been resumed")
p = false
end
end
end
Runtime:addEventListener("touch", pauseMe)
If I keep clicking on the screen quickly several times, “hello” will never be printed even the last click was to resume. I’m using 617 build.
Anyone seen such issue?
Steve [import]uid: 84159 topic_id: 15096 reply_id: 315096[/import]