diff options
author | Anna Henningsen <anna@addaleax.net> | 2020-09-30 11:55:59 +0200 |
---|---|---|
committer | Node.js GitHub Bot <github-bot@iojs.org> | 2020-10-03 14:42:39 +0000 |
commit | 602fb3bedc50ede2054838c22371debc38a3f515 (patch) | |
tree | f81dc2caa1d0a6ab20791f98426d40c7ffb7b234 /src/inspector_socket.cc | |
parent | e9639ee7e8705516e3b4b9ba7ee19d8e210afa9a (diff) | |
download | node-new-602fb3bedc50ede2054838c22371debc38a3f515.tar.gz |
src: make MakeCallback() check can_call_into_js before getting method
There is a check for this in the inner `MakeCallback()` function
called by it, but since the `Get()` call here can also result in a
call into JS, we should ideally check the flag before that.
PR-URL: https://github.com/nodejs/node/pull/35424
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'src/inspector_socket.cc')
0 files changed, 0 insertions, 0 deletions