FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

timers: remove dead code and simplify args check by BridgeAR · Pull Request #26555 · nodejs/node · GitHub

/ node Public

timers: remove dead code and simplify args check - #26555

Closed
BridgeAR wants to merge 1 commit into
nodejs:masterfrom
BridgeAR:remove-dead-timers-code
Closed

timers: remove dead code and simplify args check#26555
BridgeAR wants to merge 1 commit into
nodejs:masterfrom
BridgeAR:remove-dead-timers-code

Conversation

Copy link
Copy Markdown
Member

The setUnrefTimeout function is never called with more arguments
than two. So quite some code was dead and never used. This removes
that code and simplifies the args check not to coerce objects to
booleans.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

The `setUnrefTimeout` function is never called with more arguments
than two. So quite some code was dead and never used. This removes
that code and simplifies the args check not to coerce objects to
booleans.

Copy link
Copy Markdown
Collaborator

nodejs-github-bot added the timers Issues and PRs related to the timers subsystem / setImmediate, setInterval, setTimeout. label Mar 10, 2019

Copy link
Copy Markdown
Member Author

CI https://ci.nodejs.org/job/node-test-pull-request/21392/

@nodejs/timers PTAL

BridgeAR added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Mar 12, 2019

Copy link
Copy Markdown
Member Author

It would be nice to get another review.

Copy link
Copy Markdown
Member Author

Landed in a2bed79 🎉

BridgeAR closed this Mar 13, 2019
BridgeAR added a commit to BridgeAR/node that referenced this pull request Mar 13, 2019
The `setUnrefTimeout` function is never called with more arguments
than two. So quite some code was dead and never used. This removes
that code and simplifies the args check not to coerce objects to
booleans.

PR-URL: nodejs#26555
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
BridgeAR added a commit that referenced this pull request Mar 14, 2019
The `setUnrefTimeout` function is never called with more arguments
than two. So quite some code was dead and never used. This removes
that code and simplifies the args check not to coerce objects to
booleans.

PR-URL: #26555
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
BridgeAR added a commit to BridgeAR/node that referenced this pull request Mar 14, 2019
The `setUnrefTimeout` function is never called with more arguments
than two. So quite some code was dead and never used. This removes
that code and simplifies the args check not to coerce objects to
booleans.

PR-URL: nodejs#26555
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
BridgeAR added a commit that referenced this pull request Mar 14, 2019
The `setUnrefTimeout` function is never called with more arguments
than two. So quite some code was dead and never used. This removes
that code and simplifies the args check not to coerce objects to
booleans.

PR-URL: #26555
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
BridgeAR mentioned this pull request Jul 5, 2019
4 tasks
BridgeAR deleted the remove-dead-timers-code branch January 20, 2020 11:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. timers Issues and PRs related to the timers subsystem / setImmediate, setInterval, setTimeout.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL