Commit 9abcead
node: fix leaking Context handle
The call to node::Environment::GetCurrent(Isolate*) makes the call to
v8::Isolate::GetCurrentContext(). Doing so creates a new handle that
bubbled to the v8::SealHandleScope().
PR-URL: #3945
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: James Snell <jasnell@gmail.com>1 parent 409f6a9 commit 9abceadCopy full SHA for 9abcead
File tree
Expand file treeCollapse file tree
1 file changed
+1
-0
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
1 file changed
+1
-0
lines changedOpen diff view settings
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3163 | 3163 | |
3164 | 3164 | |
3165 | 3165 | |
| 3166 | + |
3166 | 3167 | |
3167 | 3168 | |
3168 | 3169 | |
|
0 commit comments