Commit ff877e9
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 <[email protected]>1 parent 6f14b3a commit ff877e9
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3652 | 3652 | | |
3653 | 3653 | | |
3654 | 3654 | | |
3655 | | - | |
3656 | 3655 | | |
3657 | 3656 | | |
3658 | 3657 | | |
| |||
3959 | 3958 | | |
3960 | 3959 | | |
3961 | 3960 | | |
3962 | | - | |
| 3961 | + | |
3963 | 3962 | | |
| 3963 | + | |
| 3964 | + | |
| 3965 | + | |
3964 | 3966 | | |
3965 | 3967 | | |
3966 | 3968 | | |
| |||
0 commit comments