lib/new_relic/agent/stats.rb in newrelic_rpm-8.11.0 vs lib/new_relic/agent/stats.rb in newrelic_rpm-8.12.0
- old
+ new
@@ -157,9 +157,10 @@
# Override marshalling methods to exclude @lock from being included in marshalled data
def marshal_dump
instance_variables.each_with_object({}) do |name, instance_copy|
next if SKIP_MARSHALLING.include?(name)
+
instance_copy[name] = instance_variable_get(name)
end
end
def marshal_load(marshalled_data)