summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAnatoli Papirovski <apapirovski@mac.com>2018-01-29 14:52:01 -0500
committerAnatoli Papirovski <apapirovski@mac.com>2018-02-04 08:27:06 -0500
commitfc96743454db30fbf9b4c4dc9fda0f260f8d35a6 (patch)
tree26fb647c1ed7a6a2c1dd5ac86042dbdc2e6485e0 /lib
parent7020bc6e0791e513d6a8e17311fe65b2c18652c0 (diff)
downloadandroid-node-v8-fc96743454db30fbf9b4c4dc9fda0f260f8d35a6.tar.gz
android-node-v8-fc96743454db30fbf9b4c4dc9fda0f260f8d35a6.tar.bz2
android-node-v8-fc96743454db30fbf9b4c4dc9fda0f260f8d35a6.zip
timers: remove domain specific code
It is no longer necessary to explicitly set the handle to inherit the Timeout domain. PR-URL: https://github.com/nodejs/node/pull/18477 Refs: https://github.com/nodejs/node/pull/16222 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/timers.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/timers.js b/lib/timers.js
index 6e5fda0e5e..99ed920e9a 100644
--- a/lib/timers.js
+++ b/lib/timers.js
@@ -586,7 +586,6 @@ Timeout.prototype.unref = function() {
this._handle.owner = this;
this._handle[kOnTimeout] = unrefdHandle;
this._handle.start(delay);
- this._handle.domain = this.domain;
this._handle.unref();
}
return this;