Timer Issue

Please post support and help requests here.
electic
Posts: 48
Joined: 30 Jan 2007, 20:28

Timer Issue

Postby electic » 30 May 2007, 23:15

Let's say I create a timer and then call:

timer.stop(); // This works

and then say a few lines later

timer.stop() // This blocks!? I think it should not block. If there is no timer active or started, it should just go.

peter
Posts: 67
Joined: 11 Jul 2006, 16:26
Location: Austria

Re: Timer Issue

Postby peter » 31 May 2007, 15:42

> Let's say I create a timer and then call:
>
> timer.stop(); // This works
>
> and then say a few lines later
>
> timer.stop() // This blocks!? I think it should not block. If there is no timer active or started, it should just go.

timer.stop() only blocks when called from within the callback function
(use reset(0) in this case).

Otherwise calling stop twice works fine for me.
Which version are you using?

br
Peter




Return to “Support”

Who is online

Users browsing this forum: No registered users and 2 guests

cron