Close Lua VM at exit.
This is useless, but can point out some problem. Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
8c08fffaa9
commit
f4579d1dc1
|
@ -570,6 +570,9 @@ main(int argc, char **argv)
|
||||||
ev_ref(globalconf.loop);
|
ev_ref(globalconf.loop);
|
||||||
ev_io_stop(globalconf.loop, &xio);
|
ev_io_stop(globalconf.loop, &xio);
|
||||||
|
|
||||||
|
/* Close Lua */
|
||||||
|
lua_close(globalconf.L);
|
||||||
|
|
||||||
awesome_atexit();
|
awesome_atexit();
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
|
Loading…
Reference in New Issue