method
after_fork_callback
v7.2.3 -
Show latest stable
- Class:
ActiveSupport::ForkTracker
after_fork_callback()public
No documentation available.
# File activesupport/lib/active_support/fork_tracker.rb, line 19
def after_fork_callback
new_pid = Process.pid
if @pid != new_pid
@callbacks.each(&:call)
@pid = new_pid
end
end