()
| 23 | }) |
| 24 | |
| 25 | function onSigint() { |
| 26 | receivedSignal = true |
| 27 | process.removeListener("SIGINT", onSigint) |
| 28 | process.removeListener("SIGTERM", onSigint) |
| 29 | fiber.unsafeInterruptAsFork(fiber.id()) |
| 30 | } |
| 31 | |
| 32 | process.on("SIGINT", onSigint) |
| 33 | process.on("SIGTERM", onSigint) |
nothing calls this directly
no test coverage detected
searching dependent graphs…