Skip to content

Commit

Permalink
Fixes #6988 - Prevent actor switching when tearing down the rendezvous
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanceriu committed Oct 27, 2022
1 parent 41b0865 commit b0f6567
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ class QRLoginService: NSObject, QRLoginServiceProtocol {
await teardownRendezvous()
}

@MainActor
private func teardownRendezvous(state: QRLoginServiceState? = nil) async {
// Stop listening for changes, try deleting the resource
_ = await rendezvousService?.tearDown()
Expand Down

0 comments on commit b0f6567

Please sign in to comment.