(exitCode: number)
| 238 | const host = await createListHost(options, hostOptions) |
| 239 | |
| 240 | const shutdown = async (exitCode: number) => { |
| 241 | await host.dispose() |
| 242 | process.exit(exitCode) |
| 243 | } |
| 244 | |
| 245 | const onSigint = () => void shutdown(130) |
| 246 | const onSigterm = () => void shutdown(143) |