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:
Julien Danjou 2009-06-22 17:14:28 +02:00
parent 8c08fffaa9
commit f4579d1dc1
1 changed files with 3 additions and 0 deletions

View File

@ -570,6 +570,9 @@ main(int argc, char **argv)
ev_ref(globalconf.loop);
ev_io_stop(globalconf.loop, &xio);
/* Close Lua */
lua_close(globalconf.L);
awesome_atexit();
return EXIT_SUCCESS;