Timer and Transition Errors on nil Objects

If an object was recently deleted, would any timer or transition tied to it still attempt to run? Will this throw errors?

I currently have been stopping my transitions and timers with a function just to be careful. It would save me a lot of typing if timers and transitions don’t throw errors. [import]uid: 54716 topic_id: 13263 reply_id: 313263[/import]

Yes, they will still attempt to run.

Sorry but you’ve got to remove them all :wink: [import]uid: 52491 topic_id: 13263 reply_id: 48758[/import]

I’ve just been bitten by this too. Can someone tell me if I am now handling this correctly please.

I add my transitions to a table ‘starTrailTransitions’ and then in the clean up before swapping levels I do the below.

 for j = #starTrailTransitions,1,-1 do  
 transition.cancel(starTrailTransitions[j])  
 end  

I guess I’m not sure whether the cancel removes the transition or just stops it and so it’s still hanging about in memory somewhere. [import]uid: 51494 topic_id: 13263 reply_id: 48877[/import]