src: domain should not replace nextTick function
authorTimothy J Fontaine <tjfontaine@gmail.com>
Tue, 4 Mar 2014 00:27:58 +0000 (16:27 -0800)
committerTimothy J Fontaine <tjfontaine@gmail.com>
Tue, 4 Mar 2014 00:27:58 +0000 (16:27 -0800)
commit06453a94a7b06df30be0148e8b1d89932350f677
treeb87a1a4a98787d46e899155486870933fecd703a
parent47abdd9c43ae97ed11cb8cc4c770b43043718308
src: domain should not replace nextTick function

Previously if you cached process.nextTick and then require('domain')
subsequent nextTick() calls would not be caught because enqueued
functions were taking the wrong path. This keeps nextTick to a single
function reference and changes the implementation details after domain
has been required.
src/node.cc
src/node.js
test/message/max_tick_depth_trace.out
test/simple/test-next-tick-domain.js [new file with mode: 0644]