lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hallo,

On Fri, Aug 22, 2014 at 12:55 PM, Richter, Jörg <Joerg.Richter@pdv-fs.de> wrote:
>
> The Timer() function creates an userdata and stores the callback in a
> weak-keyed table. The key is the Timer userdata, and the value is the
> callback. The userdata is returned.
>

At this point, unless you store the returned userdata in a variable,
there is no strong reference to it.

-- 
-alex
http://unendli.ch/