AndyQ / NFCPassportReader

NFCPassportReader for iOS 13
MIT License
738 stars 239 forks source link

Invalidate session when cancel is tapped #146

Closed TerjeLon closed 2 years ago

TerjeLon commented 2 years ago

Current behaviour only sets the session to nil. But the session that was cancelled continues to read, causing weird behaviour such that a new session is unable to start reading before the previous one has been properly invalidated.

This PR will solve that behaviour