Skip to content

Commit

Permalink
Just like the original
Browse files Browse the repository at this point in the history
  • Loading branch information
David Young committed Oct 9, 2023
1 parent 7b98907 commit 79394c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class DefaultActivityContextManager: ContextManager {
rlock.unlock()
}

if contextMap[contextKey] == nil {
if contextMap[contextKey] == nil || contextMap[contextKey]?[key.rawValue] != nil {
let (activityIdent, _) = TaskSupport.instance.createActivityContext()

contextMap[UContext(context: activityIdent)] = [String: AnyObject]()
Expand Down

0 comments on commit 79394c3

Please sign in to comment.