mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +03:00
Ensure transaction will not be finished several times.
This commit is contained in:
parent
99eb443f0d
commit
e9e391d1cd
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ class SentrySyncDurationMetrics @Inject constructor() : SyncDurationMetricPlugin
|
|||
|
||||
override fun finishTransaction() {
|
||||
transaction?.finish()
|
||||
transaction = null
|
||||
logTransaction("Sentry transaction finished")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue