Merge pull request #69 from tomatolog/master

fixing leak of mysql thread handlers
This commit is contained in:
Tomás Guisasola 2017-02-23 09:14:59 -03:00 committed by GitHub
commit fea0c00090

View File

@ -532,6 +532,7 @@ static int env_close (lua_State *L) {
lua_pushboolean (L, 0); lua_pushboolean (L, 0);
return 1; return 1;
} }
mysql_library_end();
env->closed = 1; env->closed = 1;
lua_pushboolean (L, 1); lua_pushboolean (L, 1);
return 1; return 1;