()
| 403 | } |
| 404 | |
| 405 | private async handlerShutdown () { |
| 406 | if (this.config.enabledFeatures.event) { |
| 407 | await this.eventHandler.close() |
| 408 | } |
| 409 | if (this.config.enabledFeatures.rpc) { |
| 410 | await this.rpcHandler.close() |
| 411 | } |
| 412 | if (this.config.enabledFeatures.record) { |
| 413 | await this.recordHandler.close() |
| 414 | } |
| 415 | if (this.config.enabledFeatures.presence) { |
| 416 | await this.presenceHandler.close() |
| 417 | } |
| 418 | if (this.config.enabledFeatures.monitoring) { |
| 419 | await this.monitoringHandler.close() |
| 420 | } |
| 421 | this.transition('handlers-closed') |
| 422 | } |
| 423 | |
| 424 | /** |
| 425 | * Shutdown the services. |
nothing calls this directly
no test coverage detected