Commit dee9c74
src: fix stuck debugger process
The debug process running "node debug a.js" will be stuck when the
script ends. This is because the debug handler has been unrefed.
We shouldn't unref the debug handler to avoid this problem.
PR-URL: #2778
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>1 parent 9061aa2 commit dee9c74
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3669 | 3669 | | |
3670 | 3670 | | |
3671 | 3671 | | |
3672 | | - | |
3673 | 3672 | | |
3674 | 3673 | | |
3675 | 3674 | | |
| |||
3976 | 3975 | | |
3977 | 3976 | | |
3978 | 3977 | | |
3979 | | - | |
| 3978 | + | |
3980 | 3979 | | |
| 3980 | + | |
| 3981 | + | |
| 3982 | + | |
3981 | 3983 | | |
3982 | 3984 | | |
3983 | 3985 | | |
| |||
0 commit comments