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;