()
| 579 | } |
| 580 | |
| 581 | func (h *serverHelper) stop() { |
| 582 | if h.lifecycle != nil { |
| 583 | shutdownContext, cancelFunc := context.WithTimeout(context.Background(), 60*time.Second) |
| 584 | h.lifecycle.Stop(shutdownContext) |
| 585 | cancelFunc() |
| 586 | } |
| 587 | } |
| 588 | |
| 589 | //endregion |
| 590 |
no test coverage detected