Comparing version 3.4.1 to 3.4.2
@@ -33,3 +33,9 @@ var EventEmitter = require('events').EventEmitter; | ||
pool.emit('error', e, client); | ||
pool.destroy(client); | ||
// If the client is already being destroyed, the error | ||
// occurred during stream ending. Do not attempt to destroy | ||
// the client again. | ||
if (!client._destroying) { | ||
pool.destroy(client); | ||
} | ||
}); | ||
@@ -36,0 +42,0 @@ |
{ | ||
"name": "pg.js", | ||
"version": "3.4.1", | ||
"version": "3.4.2", | ||
"description": "node-postgres without the bindings", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61680
1948