()
| 70 | ) |
| 71 | }, |
| 72 | async shutdown() { |
| 73 | await InstanceRuntime.disposeAllInstances() |
| 74 | if (server) await server.stop(true) |
| 75 | process.off("unhandledRejection", onUnhandledRejection) |
| 76 | process.off("uncaughtException", onUncaughtException) |
| 77 | }, |
| 78 | } |
| 79 | |
| 80 | Rpc.listen(rpc) |