Skip to content

SentryTransaction.finish() clears transaction from the Scope even if it was not bound to the Scope at all #1269

Description

@marandaneto

SentryTransaction.finish() clears transaction from the Scope even if it was not bound to the Scope at all, that means, we'd be clearing a transaction bound to the Scope that might not be the same transaction at all.

if (item != null) {
item.getScope().clearTransaction();
}

I think before clearing it up, we'd need to check if it's actually the very same running transaction, this might be a problem only on Mobile though because of the single Hub thingie

Metadata

Metadata

Labels

BugIssue typeperformancePerformance API issues
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions