From 7a3a19c1f52d9df1fde9c1a09f7edc535b3a9f0c Mon Sep 17 00:00:00 2001 From: Evan Phoenix Date: Fri, 29 Jul 2016 21:20:41 -0700 Subject: [PATCH] Fix stopping idle apps --- src/puma/dev/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }