diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-03-29 11:47:12 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-03-29 11:47:12 -0300 |
commit | bef250eb8d44ba58fa04f82df7550a79b068d2d0 (patch) | |
tree | 62c7ca754b529b907c701e93a1e8f364904a7907 /lstate.c | |
parent | ba81adaad9a72530d1ac81149a1fdd154b010b06 (diff) | |
download | lua-bef250eb8d44ba58fa04f82df7550a79b068d2d0.tar.gz lua-bef250eb8d44ba58fa04f82df7550a79b068d2d0.tar.bz2 lua-bef250eb8d44ba58fa04f82df7550a79b068d2d0.zip |
Details
Comments and small improvements in the manual.
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -269,7 +269,7 @@ static void preinit_thread (lua_State *L, global_State *g) { | |||
269 | static void close_state (lua_State *L) { | 269 | static void close_state (lua_State *L) { |
270 | global_State *g = G(L); | 270 | global_State *g = G(L); |
271 | if (!completestate(g)) /* closing a partially built state? */ | 271 | if (!completestate(g)) /* closing a partially built state? */ |
272 | luaC_freeallobjects(L); /* jucst collect its objects */ | 272 | luaC_freeallobjects(L); /* just collect its objects */ |
273 | else { /* closing a fully built state */ | 273 | else { /* closing a fully built state */ |
274 | luaD_closeprotected(L, 1, LUA_OK); /* close all upvalues */ | 274 | luaD_closeprotected(L, 1, LUA_OK); /* close all upvalues */ |
275 | luaC_freeallobjects(L); /* collect all objects */ | 275 | luaC_freeallobjects(L); /* collect all objects */ |