aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-08-07 11:51:37 +0800
committerchai <chaifix@163.com>2018-08-07 11:51:37 +0800
commita46931ada5343e8f5b863719c733f5bfc91c663f (patch)
tree243e77ea0ca1aa5a4b7a235be62efde22914b96e /src/main.cpp
parente4eeedbd6faaef380b58236745856b50cebf4461 (diff)
*update
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 256f39d..51b100f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -42,9 +42,9 @@ int main(int argc, char* argv[])
#endif
#undef BUFFER_SIZE
luax_setfield_string(L, "_dir", buffer);
-
// boot
jin::lua::boot(L);
+ luax_close(L);
return 0;
} \ No newline at end of file