Skip to content

Commit

Permalink
flush happens after lock is released, not before
Browse files Browse the repository at this point in the history
  • Loading branch information
relaxolotl committed Jan 7, 2022
1 parent d5772e7 commit 058876f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/sentry_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -788,11 +788,6 @@ sentry_transaction_finish(sentry_value_t tx)
scope->span = sentry_value_new_null();
}
}
// immediately flush the scope so the transaction doesn't get attached to
// any new events
SENTRY_WITH_SCOPE_MUT (scope) {
(void)scope;
}
// The sampling decision should already be made for transactions
// during their construction. No need to recalculate here. See
// `sentry__should_skip_transaction`.
Expand Down

0 comments on commit 058876f

Please sign in to comment.