Commit 04d061c
committed
Workaround Ctrl+C not exiting debug process
During `tns debug ios` command, Ctrl + C does not kill the proecss. It looks like there are still resources that do not allow the process to die.
Implement a workaround - call process.exit when SIGINT (Ctrl + C) is received. There's no guarantee that this will release the other resources. However CLI's process will definitely die and console will be released.
Code is based on this PR: telerik/mobile-cli-lib#7911 parent 182e92c commit 04d061c
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
0 commit comments