Skip to content

Commit

Permalink
Update Sources/Sentry/SentryTransactionContext.m
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Hofmann <philipp.hofmann@sentry.io>
  • Loading branch information
armcknight and philipphofmann authored Nov 4, 2022
1 parent 7d63c3d commit 06547d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Sentry/SentryTransactionContext.m
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ - (void)commonInitWithName:(NSString *)name
source:(SentryTransactionNameSource)source
parentSampled:(BOOL)parentSampled
{
_name = [NSString stringWithString:name];
_name = name.copy;
_nameSource = source;
self.parentSampled = parentSampled;
SENTRY_LOG_DEBUG(@"Created transaction context with name %@", name);
Expand Down

0 comments on commit 06547d0

Please sign in to comment.