lib/contrast/extension/assess/eval_trigger.rb in contrast-agent-6.2.0 vs lib/contrast/extension/assess/eval_trigger.rb in contrast-agent-6.3.0
- old
+ new
@@ -23,13 +23,9 @@
end
def apply_trigger obj, source, ret, clazz, method
return unless ::Contrast::ASSESS.non_request_tracking? || Contrast::Agent::REQUEST_TRACKER.current
- # Since we know this is the source of the trigger, we can do some
- # optimization here and return when it is not tracked
- return unless Contrast::Utils::Assess::TrackingUtil.tracked?(source)
-
# source might not be all the args passed in, but it is the one we care
# about. we could pass in all the args in the last param here if it
# becomes an issue in rendering on TS
Contrast::Agent::Assess::Policy::TriggerMethod.apply_eval_trigger(trigger_node(clazz, method), source, obj,
ret, source)