[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Flushing global variables
- From: Patrick Donnelly <batrick@...>
- Date: Thu, 19 May 2011 18:28:44 -0400
On Thu, May 19, 2011 at 6:04 PM, Peter Cawley <lua@corsix.org> wrote:
> On Thu, May 19, 2011 at 10:51 PM, Patrick Donnelly <batrick@batbytes.com> wrote:
>> >From the main thread (with no running functions):
>> lua_replace(L, LUA_ENVIRONINDEX);
>
> Surely things will break if you use LUA_ENVIRONINDEX with no running functions?
Ah, yes. So don't replace LUA_ENVIRONINDEX :).
--
- Patrick Donnelly