Commit 53ac130
committed
Ensure the server shuts down even if shutdown handlers fail
Previously, synchronous errors in shutdown handlers would fire a promise rejection
but skip the process.exit call, which meant we could fail to actually exit. We
now forcibly exit in all cases.1 parent ab27e43 commit 53ac130
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
| |||
0 commit comments