node/test
Julien Gilli fd2cb7c611 timers: don't mutate unref list while iterating it
Commit 934bfe23a1 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 #8897.

Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2014-12-22 11:45:31 -08:00
..
addons test: modify async native test.js to test for #4820 2013-02-21 13:14:07 -08:00
disabled Merge remote-tracking branch 'ry/v0.8' into master 2013-02-18 10:21:08 -08:00
external/ssl-options tests: add TLS tests matrix 2014-10-23 10:45:12 -07:00
fixtures test: fix test-tls-server-verify 2014-07-23 23:51:14 +04:00
gc test: use the debug build of node-weak when necessary 2012-06-13 17:58:28 -07:00
internet src: re-add 1024-bit SSL certs removed by f9456a2 2014-12-19 17:11:40 -08:00
message lib: name EventEmitter prototype methods 2014-05-07 12:11:57 -07:00
pummel fs: make unwatchFile() insensitive to path 2014-02-06 13:04:35 +04:00
simple timers: don't mutate unref list while iterating it 2014-12-22 11:45:31 -08:00
timers timers: backport f8193ab 2014-07-31 08:53:24 -07:00
common.js test: check for multi-localhost support 2014-10-13 14:17:39 -07:00