Some issues

What is really a upvalue?
Sometimes appear that have more than 60 values etc, but i dont understand and is a upvalue, is local variables?, functions? what it is really?

To clean up the memory of all my timers and transitions, only need to put it?

timerStash = {}  
transitionStash = {}  
  
function cancelAllTimers()  
 local k, v  
  
 for k,v in pairs(timerStash) do  
 timer.cancel( v )  
 v = nil; k = nil  
 end  
  
 timerStash = nil  
 timerStash = {}  
end  
  
--  
  
function cancelAllTransitions()  
 local k, v  
  
 for k,v in pairs(transitionStash) do  
 transition.cancel( v )  
 v = nil; k = nil  
 end  
  
 transitionStash = nil  
 transitionStash = {}  
end  

or should use others things?

To remove all my objects of a level of my game only need to remove my locall group that have all my objects?

some like:

group:remove()  
-- and group = nil or no?  

Thanks for any little help [import]uid: 26056 topic_id: 22086 reply_id: 322086[/import]

check for a missing end… one of your function is unbalanced [import]uid: 3826 topic_id: 22086 reply_id: 87757[/import]

it is about the first question? [import]uid: 26056 topic_id: 22086 reply_id: 87852[/import]