Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

timers: don't mutate unref list while iterating it #8905

Closed
wants to merge 1 commit into from

Commits on Dec 22, 2014

  1. timers: don't mutate unref list while iterating it

    Commit 934bfe2 had introduced a
    regression where node would crash trying to access a null unref timer if
    a given unref timer's callback would remove other unref timers set to
    fire in the future.
    
    More generally, it makes the unrefTimeout function more solid by not
    mutating the unrefList while traversing it.
    
    Fixes nodejs#8897.
    Julien Gilli committed Dec 22, 2014
    Configuration menu
    Copy the full SHA
    1a3e1ed View commit details
    Browse the repository at this point in the history