Skip to content

Commit

Permalink
🐞 Fix: Potential Memory Leak
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Apr 6, 2023
1 parent 3b8802c commit 5fce550
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ class RNIModalView: UIView, RNIIdentifiable, RNIModalFocusNotifying,

self.modalFocusDelegate.onModalWillFocusNotification(sender: self);

topMostPresentedVC.present(modalVC, animated: true) {
topMostPresentedVC.present(modalVC, animated: true) { [unowned self] in
if self.hideNonVisibleModals {
self.setIsHiddenForViewBelowLevel(self.modalIndex - 1, isHidden: true);
};
Expand Down

0 comments on commit 5fce550

Please sign in to comment.