Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

#44 scope err, obj vars in createResource()

  • Loading branch information...
commit 6d452a34eb718eb06aff9eed78fbfc4abb205dd1 1 parent 7d8e79a
@coopernurse authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/generic-pool.js
View
1  lib/generic-pool.js
@@ -244,6 +244,7 @@ exports.Pool = function (factory) {
count += 1;
log("createResource() - creating obj - count=" + count + " min=" + factory.min + " max=" + factory.max, 'verbose');
factory.create(function () {
+ var err, obj;
var clientCb = waitingClients.dequeue();
if (arguments.length > 1) {
err = arguments[0];

2 comments on commit 6d452a3

@zdwalter

please publish this to npm, thanks.

@coopernurse
Please sign in to comment.
Something went wrong with that request. Please try again.