was in a hurry earlier
This commit is contained in:
parent
307b92b966
commit
4383885634
|
@ -140,7 +140,7 @@ static VALUE nogvl_close(void * ptr) {
|
|||
mysql_client_wrapper *wrapper = ptr;
|
||||
if (!wrapper->closed) {
|
||||
mysql_close(wrapper->client);
|
||||
client->net.fd = -1;
|
||||
wrapper->client->net.fd = -1;
|
||||
wrapper->closed = 1;
|
||||
}
|
||||
return Qnil;
|
||||
|
|
Loading…
Reference in New Issue