mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 15:38:28 +02:00
Fixes #6988 - Prevent actor switching when tearing down the rendezvous
This commit is contained in:
committed by
Stefan Ceriu
parent
33cf429526
commit
0dcaa7de6a
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user