Merge pull request #69 from tomatolog/master
fixing leak of mysql thread handlers
This commit is contained in:
commit
fea0c00090
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user