From f4579d1dc1a329646b21c00e3f3c58d9f5cd4687 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 22 Jun 2009 17:14:28 +0200 Subject: [PATCH] Close Lua VM at exit. This is useless, but can point out some problem. Signed-off-by: Julien Danjou --- awesome.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/awesome.c b/awesome.c index 88ab3c4ed..2ce1bb514 100644 --- a/awesome.c +++ b/awesome.c @@ -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;