Overview
Features
Download
Documentation
Community
Add-Ons & Services

Timer Issue

Please post support and help requests here.

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.
electic
 
Posts: 48
Joined: 30 Jan 2007, 20:28

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


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


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron