Skip to content

Commit

Permalink
no need to invalidate the FD now that we're only modifying it once, i…
Browse files Browse the repository at this point in the history
…n one place
  • Loading branch information
brianmario committed Oct 18, 2010
1 parent e823b9e commit a8041fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ext/mysql2/client.c
Expand Up @@ -128,7 +128,6 @@ static VALUE nogvl_close(void *ptr) {
#endif

mysql_close(wrapper->client);
wrapper->client->net.fd = -1;
free(wrapper->client);
}

Expand Down

0 comments on commit a8041fe

Please sign in to comment.