lib/datadog/profiling/tasks/setup.rb in ddtrace-1.6.1 vs lib/datadog/profiling/tasks/setup.rb in ddtrace-1.7.0

- old
+ new

@@ -53,16 +53,9 @@ def setup_at_fork_hooks if Process.respond_to?(:at_fork) Process.at_fork(:child) do begin - # When Ruby forks, clock IDs for each of the threads - # will change. We can only update these IDs from the - # execution context of the thread that owns it. - # This hook will update the IDs for the main thread - # after a fork occurs. - Thread.current.send(:update_native_ids) if Thread.current.respond_to?(:update_native_ids, true) - # Restart profiler, if enabled Profiling.start_if_enabled rescue StandardError => e Datadog.logger.warn do "Error during post-fork hooks. Cause: #{e.class.name} #{e.message} " \