Fix timers cancel in interval v4.x by Fishrock123 · Pull Request #10365 · nodejs/node
Previously not all codepaths set `timer._idleTimeout = -1` for canceled or closed timers, and not all codepaths checked it either. Unenroll uses this to say that a timer is indeed closed and it is the closest thing there is to an authoritative source for this. Refs: nodejs#9606 Fixes: nodejs#9561 PR-URL: nodejs#9685 Reviewed-By: Rich Trott <rtrott@gmail.com> Conflicts: lib/timers.js
added
timers
v4.x labels
Dec 21, 2016MylesBorins pushed a commit that referenced this pull request
Dec 21, 2016MylesBorins pushed a commit that referenced this pull request
Dec 21, 2016This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters