diff --git a/src/puma/dev/app.go b/src/puma/dev/app.go index 6ec7b0f0..eadd5e51 100644 --- a/src/puma/dev/app.go +++ b/src/puma/dev/app.go @@ -121,8 +121,8 @@ func (a *App) idleMonitor() error { case <-ticker.C: if a.pool.maybeIdle(a) { a.Kill() + return nil } - return nil case <-a.t.Dying(): return nil }