Skip to content

Commit

Permalink
fix(destroy): destroy based on asyncId only
Browse files Browse the repository at this point in the history
- executionAsyncId appears to be always 0 in destroy event.
  • Loading branch information
Jeff-Lewis committed Jul 25, 2017
1 parent 9952b60 commit 3cf7539
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion context.js
Expand Up @@ -421,7 +421,6 @@ function createNamespace(name) {
debug2(`${indentStr}DESTROY (${name}) currentUid:${currentUid} asyncId:${asyncId} triggerId:${triggerId} active:${util.inspect(namespace.active, {showHidden:true, depth:2, colors:true})} context:${util.inspect(namespace._contexts.get(currentUid))}`);
}

namespace._contexts.delete(currentUid);
namespace._contexts.delete(asyncId);
}
});
Expand Down

0 comments on commit 3cf7539

Please sign in to comment.