Skip to content

Commit

Permalink
Fix stopping idle apps
Browse files Browse the repository at this point in the history
  • Loading branch information
evanphx committed Jul 30, 2016
1 parent f03ce23 commit 7a3a19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/puma/dev/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 7a3a19c

Please sign in to comment.