Comparing version 1.0.4 to 1.0.5
## Release notes | ||
__1.0.5__ | ||
Bugfix for start(). | ||
__1.0.4__ | ||
@@ -3,0 +5,0 @@ No longer using recursion internally. This could potentially lead to "Maximum call stack size exceeded". |
@@ -104,4 +104,4 @@ let fs = require('fs'); | ||
log(`exit ${ asyncId}`); | ||
let parentId = stack[asyncId].parent; | ||
let parent = stack[parentId]; | ||
asyncId = stack[asyncId].parent; | ||
let parent = stack[asyncId]; | ||
if (parent) { | ||
@@ -112,3 +112,2 @@ if (parent.contexts[ns] === context) | ||
return; | ||
asyncId = parentId; | ||
} | ||
@@ -115,0 +114,0 @@ } |
{ | ||
"name": "node-cls", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Continuation Local Storage based on async_hooks", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
15565
321