Commit acac774
authored
test: Data race in testReportFullyDisplayed (#5499)
Setting a new TestTimeToDisplayTracker to the SentryDependencyContainer
directly after starting the SDK led to a data race in
sentry_sdkInitProfilerTasks, because sentry_sdkInitProfilerTasks
accesses the TimeToDisplayTracker on a BG thread. This is fixed now by
setting the TestTimeToDisplayTracker to the SentryDependencyContainer
before starting the SDK.1 parent 9be5373 commit acac774
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
728 | 728 | | |
729 | 729 | | |
730 | 730 | | |
731 | | - | |
732 | | - | |
733 | 731 | | |
734 | | - | |
735 | 732 | | |
736 | 733 | | |
737 | 734 | | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
738 | 739 | | |
739 | 740 | | |
740 | 741 | | |
| |||
0 commit comments