Re: error in lua_pcall not garbage collecting
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: error in lua_pcall not garbage collecting
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2012年9月27日 14:48:40 -0300
> Right now I'm just calling lua_gc(L, LUA_GCCOLLECT, 0) any time
> lua_pcall() returns an error. While probably horribly inefficient it
> does appear to address my issue.
Did you have this problem in real code? It should be a very rare
situation, where all your program does is keep calling erroneous
code without ever creating anything...
-- Roberto