You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not totally sure about this, but addPeriodic seems to return a function which will only last during the first cycle. After that, timer.add() is called again and the return value is not valid anymore. Thus timer.cancel doesn't work with periodics.
I couldn't work on a real fix (I encounter it during miniLD, so not much time), but I have an ugly workaround (separating periodics and non periodics) if you are interested.
The text was updated successfully, but these errors were encountered:
Matter of fact, I can't reproduce it on a simple example and it seems that this bug doesn't exists. I must have messed up something. Sorry about that :)
I'm not totally sure about this, but addPeriodic seems to return a function which will only last during the first cycle. After that, timer.add() is called again and the return value is not valid anymore. Thus timer.cancel doesn't work with periodics.
I couldn't work on a real fix (I encounter it during miniLD, so not much time), but I have an ugly workaround (separating periodics and non periodics) if you are interested.
The text was updated successfully, but these errors were encountered: