[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: destroy a variable
- From: David KOENIG <karhudever@...>
- Date: Sun, 29 Apr 2007 19:41:13 -0700
Roger D Vargas wrote:
> I have found a weird problem while writing my server.
> If I repeatedly execute the string "a=math.random(1,20)" in my
> embedded interpreter, when I stop the host I got a crash with a lot of
> glibc errors. If I replace the code by "math.random(1,20)" no problems
> occurs. Is there any way to destroy variables used in an script when I
> dont need them anymore?
Try: foo = nil