Skip to content

Commit

Permalink
Merge branch 'main' into otlp-version-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bryce-b authored Aug 3, 2023
2 parents 93e954a + 46c8adc commit abc4ad1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ class ActivityContextManager: ContextManager {
if contextMap[activityIdent]?.isEmpty ?? false {
contextMap[activityIdent] = nil
}
rlock.unlock()
if let scope = objectScope.object(forKey: value) {
var scope = scope.scope
os_activity_scope_leave(&scope)
objectScope.removeObject(forKey: value)
}
rlock.unlock()
}
}

0 comments on commit abc4ad1

Please sign in to comment.