Description of changes:
Implement a locking mechanism for Subsegments in Entity.AddException method to ensure thread safety and prevent race conditions during exception handling.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #306:
Description of changes: Implement a locking mechanism for Subsegments in
Entity.AddException
method to ensure thread safety and prevent race conditions during exception handling.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.