Yubico / yubikit-ios

Yubico Mobile iOS SDK - YubiKit
Apache License 2.0
194 stars 43 forks source link

Fix bug #140 Missing return after completion in PIV signWithKeyInSlot #141

Closed samngms closed 3 months ago

samngms commented 7 months ago

Three is a missing return after calling completion, just one line of code.

Without the return, the code will continue to run after the 1st completion() and then when it calls the 2nd completion(), it will throw

Illegal callback invocation from native module. This callback type only permits a single invocation from native code.

jensutbult commented 3 months ago

Thank you for the bug fix!