Module: ActiveSupport::ForkTracker::ModernCoreExt

Defined in:
lib/active_support/fork_tracker.rb

Instance Method Summary collapse

Instance Method Details

#_forkObject



6
7
8
9
10
11
12
# File 'lib/active_support/fork_tracker.rb', line 6

def _fork
  pid = super
  if pid == 0
    ForkTracker.after_fork_callback
  end
  pid
end