This repository was archived by the owner on Apr 22, 2023. It is now read-only.
timers test: unref does not return this#9171
Closed
jscissr wants to merge 1 commit intonodejs:masterfrom
jscissr:patch-1
Closed
timers test: unref does not return this#9171jscissr wants to merge 1 commit intonodejs:masterfrom jscissr:patch-1
jscissr wants to merge 1 commit intonodejs:masterfrom
jscissr:patch-1
Conversation
The unref() call returns undefined, not this. The test already worked before, because the interval was still unref'd, and the test also succeeds without clearing the interval.
|
LGTM |
|
LGTM, though the commit message would be slightly better as just |
Author
|
Can/should I do something to fix the commit message? |
|
@jscissr you can do a |
Author
|
I actually only used the github.com webinterface to change and commit, so I think the first option wouldn't work. |
trevnorris
pushed a commit
that referenced
this pull request
Feb 11, 2015
Timeout#unref() call returns undefined, not this. The test already worked before, because the interval was still unref'd, and the test also succeeds without clearing the interval. PR-URL: #9171 Reviewed-by: Colin Ihrig <cjihrig@gmail.com> Reviewed-by: Timothy J Fontaine <tjfontaine@gmail.com>
|
Thanks. Landed in d2b5461. |
cjihrig
pushed a commit
to nodejs/node
that referenced
this pull request
Feb 13, 2015
Timeout#unref() call returns undefined, not this. The test already worked before, because the interval was still unref'd, and the test also succeeds without clearing the interval. PR-URL: nodejs/node-v0.x-archive#9171 Reviewed-by: Colin Ihrig <cjihrig@gmail.com> Reviewed-by: Timothy J Fontaine <tjfontaine@gmail.com> Conflicts: test/simple/test-timers-unref.js
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The unref() call returns undefined, not this.
The test already worked before, because the interval was still unref'd,
and the test also succeeds without clearing the interval.