Skip to content

Commit

Permalink
Update instrumentation/action_pack/lib/opentelemetry/instrumentation/…
Browse files Browse the repository at this point in the history
…action_pack/handlers.rb

Co-authored-by: Kayla Reopelle (she/her) <[email protected]>
  • Loading branch information
xuan-cao-swi and kaylareopelle authored Dec 6, 2023
1 parent 59401f7 commit bb720fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def subscribe
end

# Removes Event Handler Subscriptions for Action Controller notifications
# @note this method is not thread safe and sholud not be used in a multi-threaded context
# @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 = nil
Expand Down

0 comments on commit bb720fc

Please sign in to comment.