[history] Fixed error when 'onCrossReturn' and 'onSuccess' called together
This commit is contained in:
parent
b9e02d68f8
commit
87386193ee
@ -90,7 +90,8 @@ inline fun <R> safeAutoClose3e(
|
|||||||
if (!wasError) {
|
if (!wasError) {
|
||||||
if (crossReturned)
|
if (crossReturned)
|
||||||
onCrossReturn()
|
onCrossReturn()
|
||||||
onSuccess()
|
else
|
||||||
|
onSuccess()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ret
|
return ret
|
||||||
|
Loading…
Reference in New Issue
Block a user