Skip to content

Commit

Permalink
di delayed
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Jul 15, 2024
1 parent caeaa15 commit 5a63e37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/datadog/di/hook_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ def initialize
# TODO move this stringification elsewhere
if cls_name.to_s == tp.self.name
# TODO is it OK to hook from trace point handler?
# TODO the class is now defined, but can hooking still fail?
hook_method(cls_name, method_name, &block)
PENDING_METHODS.delete(pm)
end
end
end
Expand Down

0 comments on commit 5a63e37

Please sign in to comment.