unowned self
This commit is contained in:
parent
da4b4526c1
commit
d5bb5d68db
|
@ -98,7 +98,7 @@ extension KeycardController: NFCTagReaderSessionDelegate {
|
|||
}
|
||||
|
||||
public func tagReaderSession(_ session: NFCTagReaderSession, didInvalidateWithError error: Error) {
|
||||
DispatchQueue.global().async {
|
||||
DispatchQueue.global().async { [unowned self] in
|
||||
self.onFailure(error)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue