mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
minor improvement
This commit is contained in:
@@ -557,6 +557,9 @@ func (s *step7) Run(runner Runner, configurators ...Configurator) error {
|
||||
// they will be called on interrupt signals too,
|
||||
// because Iris has a builtin mechanism to call server's shutdown on interrupt.
|
||||
for _, cb := range s.step6.closers {
|
||||
if cb == nil {
|
||||
continue
|
||||
}
|
||||
cb()
|
||||
}
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user