lib/opentelemetry/instrumentation/active_job/handlers.rb in opentelemetry-instrumentation-active_job-0.7.2 vs lib/opentelemetry/instrumentation/active_job/handlers.rb in opentelemetry-instrumentation-active_job-0.7.3

- old
+ new

@@ -62,10 +62,10 @@ end # Removes Event Handler Subscriptions for ActiveJob notifications # @note this method is not thread-safe and should not be used in a multi-threaded context def unsubscribe - @subscriptions&.each { |subscriber| ActiveSupport::Notifications.unsubscribe(subscriber) } + @subscriptions&.each { |subscriber| ::ActiveSupport::Notifications.unsubscribe(subscriber) } @subscriptions = nil end end end end