0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 15:30:56 +01:00
nodejs/test
Fedor Indutny 3eecdf9f14 timers: reuse timer in setTimeout().unref()
Instead of creating new timer - reuse the timer from the freelist. This
won't make the freelist timer active for the duration of `uv_close()`,
and will let the event-loop exit properly.

Fix: #1264
PR-URL: https://github.com/nodejs/node/pull/3407
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-10-20 14:20:24 -04:00
..
abort src: honor --abort_on_uncaught_exception flag 2015-09-17 15:25:25 -05:00
addons buffer: fix assertion error in WeakCallback 2015-10-12 20:47:10 -07:00
cctest
debugger test: load common.js in all tests 2015-10-06 15:11:47 -07:00
disabled test: replace deprecated util.debug() calls 2015-09-28 11:15:06 -07:00
fixtures util: Remove p, has been deprecated for years 2015-10-19 20:52:56 +02:00
gc src: replace usage of v8::Handle with v8::Local 2015-09-06 21:38:05 +10:00
internet test: apply correct assert.fail() arguments 2015-10-16 00:31:04 -07:00
message test: fix tests after V8 upgrade 2015-10-14 11:20:35 -07:00
parallel timers: reuse timer in setTimeout().unref() 2015-10-20 14:20:24 -04:00
pummel test: change calls to deprecated util.print() 2015-09-28 13:21:15 -07:00
sequential test: repl-persistent-history is no longer flaky 2015-10-20 10:44:06 -04:00
testpy test: fix default value for additional param 2015-09-15 19:59:38 +05:30
timers test: enable linting for tests 2015-05-19 21:21:27 +02:00
.eslintrc test: make common.js mandatory via linting rule 2015-10-06 15:11:58 -07:00
common.js test: remove util from common 2015-10-12 21:08:53 -07:00