()
| 437 | } |
| 438 | |
| 439 | function kill() { |
| 440 | if (child.stdout) |
| 441 | child.stdout.destroy(); |
| 442 | |
| 443 | if (child.stderr) |
| 444 | child.stderr.destroy(); |
| 445 | |
| 446 | killed = true; |
| 447 | try { |
| 448 | child.kill(options.killSignal); |
| 449 | } catch (e) { |
| 450 | ex = e; |
| 451 | exithandler(); |
| 452 | } |
| 453 | } |
| 454 | |
| 455 | if (options.timeout > 0) { |
| 456 | timeoutId = setTimeout(function delayedKill() { |
no test coverage detected
searching dependent graphs…