()
| 355 | browser?.close().catch(() => {}); |
| 356 | }; |
| 357 | let checkInterrupted = () => { |
| 358 | if (interrupted) { |
| 359 | throw new Error('Run interrupted; partial samples are retained.'); |
| 360 | } |
| 361 | }; |
| 362 | process.once('SIGINT', interrupt); |
| 363 | process.once('SIGTERM', interrupt); |
| 364 | try { |