Permalink
Browse files

bump version to 1.0.10

  • Loading branch information...
1 parent b06334c commit 1ed52d33f274a5d48466a07fd7794af5ba553683 @coopernurse committed May 3, 2012
Showing with 7 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +3 −0 README.md
  3. +2 −0 lib/generic-pool.js
  4. +1 −1 package.json
View
@@ -1,3 +1,4 @@
fabfile.pyc
node-pool.iml
node-pool.tmproj
+node_modules
View
@@ -10,6 +10,9 @@
## History
+ 1.0.10 - May 3 2012
+ - Merged #35 (Remove client from availbleObjects on destroy(client) - contributed by blax)
+
1.0.9 - Dec 18 2011
- Merged #25 (add getName() - contributed by BryanDonovan)
- Merged #27 (remove sys import - contributed by botker)
View
@@ -115,6 +115,8 @@ exports.Pool = function (factory) {
* Request the client to be destroyed. The factory's destroy handler
* will also be called.
*
+ * This should be called within an acquire() block as an alternative to release().
@blax
blax May 4, 2012

I believe this is no longer needed. Since object is removed from availableObjects during destroy(), it will also work outside the acquire() block.

@coopernurse
coopernurse via email May 4, 2012 owner
+ *
* @param {Object} obj
* The acquired item to be destoyed.
*/
View
@@ -1,7 +1,7 @@
{
"name": "generic-pool",
"description": "Generic resource pooling for Node.JS",
- "version": "1.0.9",
+ "version": "1.0.10",
"author": "James Cooper <james@bitmechanic.com>",
"contributors": [
{ "name": "James Cooper", "email": "james@bitmechanic.com" },

0 comments on commit 1ed52d3

Please sign in to comment.