Unverified Commit e32eddc5 authored by Ujjwal Sharma's avatar Ujjwal Sharma
Browse files

src: move v8::HandleScope call to Emit

Move v8::HandleScope call to Emit removing it from previous locations
where it was added to avoid crashing (constructor and destructor of
AsyncWrap) for a more general and fool-proof solution.

Ref: https://github.com/nodejs/node/pull/19972#issuecomment-381353894

PR-URL: https://github.com/nodejs/node/pull/20045


Reviewed-By: default avatarYang Guo <yangguo@chromium.org>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarTiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarDaniel Bevenius <daniel.bevenius@gmail.com>
parent 76f5b396
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