Skip to content

Commit

Permalink
fix(state): crash during auth state sync
Browse files Browse the repository at this point in the history
  • Loading branch information
mhamann committed Nov 15, 2022
1 parent adeadb9 commit c02ded4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>RowndFrameworkTestApp.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
<integer>0</integer>
</dict>
<key>RowndTests.xcscheme_^#shared#^_</key>
<dict>
Expand Down
4 changes: 3 additions & 1 deletion Sources/Rownd/framework/Authenticator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ class AuthenticatorSubscription: NSObject {

Task {
await Rownd.authenticator.setAuthState(authState)
next(action)
DispatchQueue.main.async {
next(action)
}
}
}
}
Expand Down

0 comments on commit c02ded4

Please sign in to comment.