diff options
author | Anatoli Papirovski <apapirovski@mac.com> | 2018-01-29 14:52:01 -0500 |
---|---|---|
committer | Anatoli Papirovski <apapirovski@mac.com> | 2018-02-04 08:27:06 -0500 |
commit | fc96743454db30fbf9b4c4dc9fda0f260f8d35a6 (patch) | |
tree | 26fb647c1ed7a6a2c1dd5ac86042dbdc2e6485e0 /lib | |
parent | 7020bc6e0791e513d6a8e17311fe65b2c18652c0 (diff) | |
download | android-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.js | 1 |
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; |