Skip to content

Commit

Permalink
fix: remove current setting in context clear
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlaurin committed Jun 23, 2021
1 parent 2775552 commit d36e4a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api/lib/opentelemetry/context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def current
stack.last || ROOT
end


# Associates a Context with the caller's current Fiber. Every call to
# this operation should be paired with a corresponding call to detach.
#
Expand Down Expand Up @@ -116,7 +115,6 @@ def value(key)

def clear
stack.clear
self.current = ROOT
end

def empty
Expand Down

0 comments on commit d36e4a2

Please sign in to comment.