joyent/node — pull request #7652 by bnoordhuis (2014-05-20 12:36:56+00:00)
Title: src: add timer queue to list of active handles

Make process._getActiveHandles() add the timer queue in lib/timers.js
to the list of active handles.

The timer queue is backed by a single timer handle. Before this commit,
process._getActiveHandles() only reported the handle but that's not very
useful: it doesn't tell you what timer is keeping the event loop alive.

R=@indutny? I can back-port it to v0.10 if so desired.