mirror of
https://github.com/electron/electron.git
synced 2026-01-26 07:48:08 -05:00
It's not necessary to create HandleScope in v8 native binding functions, because it's guarrenteed that the there is a upper HandleScope when the native function is called. So unless we are urgent to free the handles, not using HandleScope in native binding functions is a cleaner and safer choice.
1.9 KiB
1.9 KiB