summaryrefslogtreecommitdiff
path: root/lib/http.js
diff options
context:
space:
mode:
authorAndreas Madsen <amwebdk@gmail.com>2013-02-26 18:26:09 +0100
committerisaacs <i@izs.me>2013-03-09 08:19:57 -0800
commit7becf156a92180c9b6455f60b143e18729592dfb (patch)
treee1775784173d0b1a08fbbc02a0c8864eeeda0e70 /lib/http.js
parent80472bc301234d9dc4142e62bbffc4300fffdd83 (diff)
downloadnode-new-7becf156a92180c9b6455f60b143e18729592dfb.tar.gz
timers: consistent this keyword in setImmediate
When calling setImmediate with extra arguments the this keyword in the callback would refer to the global object, but when not calling setImmediate with extra arguments this would refer to the returned handle object. This commit fixes that inconsistency so its always set handle object. The handle object was chosen for performance reasons.
Diffstat (limited to 'lib/http.js')
0 files changed, 0 insertions, 0 deletions