-Ultima- Posted March 20, 2008 Share Posted March 20, 2008 (edited) @Gary: As of the current beta, _Timer_KillTimer() looks incorrect to me. When you find $iTimerID, you need to move everything after it up by one element. As it is, _Timer_KillTimer() is freeing the callback, but then it removes the last item in the array (which isn't necessarily the specified $iTimerID). And the _Timer_KillAllTimers() still suffers from the unoptimized-ness I outlined up above Edited March 20, 2008 by -Ultima- [ WinINet.au3 | Array.au3 (Optimized) | _UnixTimeParse() ] Link to comment Share on other sites More sharing options...
GaryFrost Posted March 20, 2008 Author Share Posted March 20, 2008 @Gary:As of the current beta, _Timer_KillTimer() looks incorrect to me. When you find $iTimerID, you need to move everything after it up by one element. As it is, _Timer_KillTimer() is freeing the callback, but then it removes the last item in the array (which isn't necessarily the specified $iTimerID). And the _Timer_KillAllTimers() still suffers from the unoptimized-ness I outlined up above Should be fixed now, thanks SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now