Commit 8f41db61 authored by Trevor Norris's avatar Trevor Norris Committed by Bert Belder
Browse files

node: fix throws before timer module is loaded

An edge case could occur when the setImmediate() in _fatalException()
would fire before the timers module had been loaded globally, causing
Node to crash.

PR-URL: https://github.com/joyent/node/pull/8110


Signed-off-by: default avatarTrevor Norris <trev.norris@gmail.com>
Reviewed-by: default avatarFedor Indutny <fedor@indutny.com>
Reviewed-by: default avatarAlexis Campailla <alexis@janeasystems.com>
Reviewed-by: default avatarJulien Gilli <julien.gilli@joyent.com>
parent a1da024c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment