lib/sidekiq/pool.rb in sidekiq-pool-1.7.1 vs lib/sidekiq/pool.rb in sidekiq-pool-1.7.2

- old
+ new

@@ -3,14 +3,13 @@ module Sidekiq module Pool module_function def after_fork(&block) - @after_fork_hooks ||= [] - @after_fork_hooks << block + after_fork_hooks << block end def after_fork_hooks - @after_fork_hooks + @after_fork_hooks ||= [] end end end