Skip to content

Commit

Permalink
locking note
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Nov 12, 2024
1 parent a6e1220 commit 21e6273
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/datadog/di/probe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ def file_matches?(path)
# For untargeted line trace points instrumented path will be nil.
attr_accessor :instrumented_path

# TODO emitting_notified reads and writes should in theory be locked,
# however since DI is only implemented for MRI in practice the missing
# locking should not cause issues.
attr_writer :emitting_notified
def emitting_notified?
!!@emitting_notified
Expand Down

0 comments on commit 21e6273

Please sign in to comment.