Caishen icon indicating copy to clipboard operation
Caishen copied to clipboard

Memory Leak and Crash with iOS17

Open K-d-y opened this issue 10 months ago • 1 comments

Similar problem to the one solved earlier. Playable only on iOS 17. When closing and deinit the screen where CardTextField is located - strong references to CardTextField remain, which leads to application crash.

If user touches CardTextField, enters card number, month, year and CVV, then closes the screen - CardTextField is not released from memory, causing a crash. When entering only the card number, sometimes the crash does not occur.

image

The CardTextField remains in memory because a strong reference to it is stored in the UIKeyboardImpl.

K-d-y avatar Oct 11 '23 05:10 K-d-y