lib/caddy.rb in caddy-1.5.1 vs lib/caddy.rb in caddy-1.5.2

- old
+ new

@@ -26,9 +26,11 @@ @started_pid = $$ elsif @started_pid && $$ != @started_pid raise "Please run `Caddy.start` *after* forking, as the refresh thread will get killed after fork" end + @caches.freeze + @caches.values.each(&:start).all? end def self.stop @caches.values.each(&:stop).all?