src: do not leak handles on debug and exit
Ensure HandleScope is created before creating any new handles (which
Context::Scope
and Environment::GetCurrent
does).
cc @iojs/collaborators @trevnorris @bnoordhuis
I have identified these with the help of : https://codereview.chromium.org/985873002/