Self.cancel_timer(handle) should result in "handle is none"? Y/N?

I have a couple of timers running that under certain conditions get canceled. I was rather under the impression that after calling self.cancel_timer(handle) the handle would in fact be set to None.

But I’m not seeing this… Is there a reason for this? Or is it an unintended feature?

it depends on your code.

the most common failure is that more then 1 handle gets stored inside 1 var.
so yeah, self.cancel_timer(handle) should set handle to none.

please share the code if you would like me to help debug your app.

Just to be clear on terminology, the handle may be set to none but any variable you have in your app referring to the handle will still have its value set.

1 Like

Thanks! That was the “issue”. :slight_smile: