diff --git a/Auth0/TransactionStore.swift b/Auth0/TransactionStore.swift index 260cae8b..8d2512c1 100644 --- a/Auth0/TransactionStore.swift +++ b/Auth0/TransactionStore.swift @@ -14,7 +14,10 @@ class TransactionStore { return isResumed } + + /// Calling store would cancel existing transactions if any, and then would set the supplied transaction as the current one. func store(_ transaction: AuthTransaction) { + self.cancel() self.current = transaction }