Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timers: reuse timer in setTimeout().unref() #3407

Closed
wants to merge 1 commit into from

Commits on Oct 16, 2015

  1. 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: nodejs#1264
    indutny committed Oct 16, 2015
    Configuration menu
    Copy the full SHA
    fb932ba View commit details
    Browse the repository at this point in the history