Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NR-371375 changes to address startTrip crash #347

Merged
merged 1 commit into from
Feb 19, 2025
Merged

Conversation

mbruin-NR
Copy link
Contributor

The startTrip method is now synchronized using @synchronized (self). This ensures that the method is thread-safe and prevents race conditions when multiple threads attempt to access or modify currentTraceId and currentParentId.
The currentTraceId and currentParentId variables are initialized to empty string at the beginning of the implementation. This ensures that they have a known state before being used.

@mbruin-NR mbruin-NR merged commit bcc8ebf into develop Feb 19, 2025
11 checks passed
@mbruin-NR mbruin-NR deleted the NR-371375 branch February 19, 2025 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants