Skip to content

Commit

Permalink
squash: Update docs
Browse files Browse the repository at this point in the history
Co-authored-by: Kayla Reopelle (she/her) <87386821+kaylareopelle@users.noreply.github.com>
  • Loading branch information
arielvalentin and kaylareopelle authored Nov 21, 2023
1 parent 3adaf59 commit 0eecaa5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def subscribe
end

# Removes Event Handler Subscriptions for ActiveJob 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 0eecaa5

Please sign in to comment.