mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
Consolidates the implementation of regular and internal (_unrefActive) timers. Also includes a couple optimizations: - Isolates the try/catch from listOnTimeout() in a new tryOnTimeout(). - Uses a TimersList constructor as the base for linkedlists. Additionally includes other cleanup and clarification, such as a rename of "Timer" to "TimerWrap". PR-URL: https://github.com/nodejs/node/pull/4007 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Julien Gilli <jgilli@nodejs.org> Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
8 lines
274 B
Plaintext
8 lines
274 B
Plaintext
*test*message*timeout_throw.js:*
|
|
undefined_reference_error_maker;
|
|
^
|
|
ReferenceError: undefined_reference_error_maker is not defined
|
|
at null._onTimeout (*test*message*timeout_throw.js:*:*)
|
|
at tryOnTimeout (timers.js:*:*)
|
|
at Timer.listOnTimeout (timers.js:*:*)
|