Is it acceptable if I stop an app timer for dozens of times when the app timer is actually stopped. Will the memory leak if I operates in these scenario.Does it affect whether use scheduler when I init the app timer?
Is it acceptable if I stop an app timer for dozens of times when the app timer is actually stopped. Will the memory leak if I operates in these scenario.Does it affect whether use scheduler when I init the app timer?
Hi
I think the safer approach would be to maintain a state variable in your code, that you check before starting or stopping the timer. I quickly do not see the state checked internally.
Were you able to confirm this Stefan? As a rule in my application code I always stop a timer before starting it. I want to make sure this isnt creating a leak or long term issues? I have been seeing odd behaviour from my app_timers, randomly expiring too fast or causing system crashes. My app_timers use the scheduler.
Were you able to confirm this Stefan? As a rule in my application code I always stop a timer before starting it. I want to make sure this isnt creating a leak or long term issues? I have been seeing odd behaviour from my app_timers, randomly expiring too fast or causing system crashes. My app_timers use the scheduler.