Merge branch 'master' into stmt
This commit is contained in:
commit
4a5fcbae09
|
@ -144,6 +144,7 @@ static VALUE nogvl_close(void * ptr) {
|
||||||
if (!wrapper->closed) {
|
if (!wrapper->closed) {
|
||||||
wrapper->closed = 1;
|
wrapper->closed = 1;
|
||||||
mysql_close(wrapper->client);
|
mysql_close(wrapper->client);
|
||||||
|
wrapper->client->net.fd = -1;
|
||||||
if (!wrapper->freed) {
|
if (!wrapper->freed) {
|
||||||
free(wrapper->client);
|
free(wrapper->client);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue