Skip to content

Commit

Permalink
🐞 Fix: Memory Leak
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Mar 30, 2023
1 parent be99494 commit 3819540
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class RNIModalView: UIView, RNIModalFocusNotifying, RNIModalIdentity,
// MARK: - Properties - RNIModalFocusNotifying
// -------------------------------------------

var modalFocusDelegate: RNIModalFocusNotifiable!;
weak var modalFocusDelegate: RNIModalFocusNotifiable!;

// MARK: - Properties - RNIModalIdentity
// -------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/components/ModalView/ModalView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class ModalView extends
isModalContentLazy ?? true
),
shouldEnableAggressiveCleanup: (
shouldEnableAggressiveCleanup ?? false
shouldEnableAggressiveCleanup ?? true
),

// B - Pass down...
Expand Down

0 comments on commit 3819540

Please sign in to comment.