src: forbid handle allocations from Platform tasks · nodejs/node@170e196 · GitHub
Skip to content

Commit 170e196

Browse files
addaleaxBridgeAR
authored andcommitted
src: forbid handle allocations from Platform tasks
Platform tasks should have their own handle scopes, rather than leak into outer ones. PR-URL: #26376 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 9c277c0 commit 170e196

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

src/inspector/main_thread_interface.cc

Lines changed: 8 additions & 0 deletions

src/node_platform.cc

Lines changed: 4 additions & 2 deletions

0 commit comments

Comments
 (0)