hydrate-mongodb
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "hydrate-mongodb", | ||
"description": "An Object Document Mapper (ODM) for MongoDB.", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Artifact Health, LLC", |
@@ -58,2 +58,3 @@ "use strict"; | ||
this._head = this._tail = task; | ||
// make sure calls to _process are async | ||
process.nextTick(function () { return _this._process(); }); | ||
@@ -121,3 +122,4 @@ } | ||
if (_this._head) { | ||
_this._process(); | ||
// make sure calls to _process are async | ||
process.nextTick(function () { return _this._process(); }); | ||
} | ||
@@ -124,0 +126,0 @@ }; |
435584
10246