Commit e2c9040
committed
src: do not leak handles on debug and exit
Ensure HandleScope is created before creating any new handles (which
`Context::Scope` and `Environment::GetCurrent` does).
PR-URL: #1133
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Rod Vagg <[email protected]>
Reviewed-By: Brian White <[email protected]>1 parent 8c4f0df commit e2c9040
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3195 | 3195 | | |
3196 | 3196 | | |
3197 | 3197 | | |
| 3198 | + | |
3198 | 3199 | | |
3199 | 3200 | | |
3200 | 3201 | | |
| |||
3603 | 3604 | | |
3604 | 3605 | | |
3605 | 3606 | | |
3606 | | - | |
3607 | 3607 | | |
| 3608 | + | |
3608 | 3609 | | |
3609 | 3610 | | |
3610 | 3611 | | |
| |||
0 commit comments