Commit c8db0230 authored by Anna Henningsen's avatar Anna Henningsen Committed by Michaël Zasso
Browse files

src: use more appropriate context-entered check

Make the context check in `MakeCallback` match what the comment says
(and what actually makes sense).

PR-URL: https://github.com/nodejs/node/pull/15691
Fixes: https://github.com/nodejs/node/issues/15672
Ref: https://github.com/nodejs/node/pull/15428
Ref: f27b5e4b


Reviewed-By: default avatarRefael Ackermann <refack@gmail.com>
Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
Reviewed-By: default avatarEugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarTimothy Gu <timothygu99@gmail.com>
Reviewed-By: default avatarTobias Nießen <tniessen@tnie.de>
parent 419876aa
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