src: disallow JS execution during exit() · nodejs/node@00e020b · GitHub
Skip to content

Commit 00e020b

Browse files
committed
src: disallow JS execution during exit()
This is just an extra safeguard – no JS should run once we’ve decided that we are going to shutdown the process, but we’re opening a handle scope in order to access V8, so make sure that our operations do not lead to JS accidentally being run. PR-URL: #35020 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com>
1 parent 1dce35d commit 00e020b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/env.cc

Lines changed: 2 additions & 0 deletions

0 commit comments

Comments
 (0)