Skip to content
Browse files

#44 scope err, obj vars in createResource()

  • Loading branch information...
1 parent 7d8e79a commit 6d452a34eb718eb06aff9eed78fbfc4abb205dd1 @coopernurse committed Aug 23, 2012
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
Owner
Please sign in to comment.
Something went wrong with that request. Please try again.