Skip to content
This repository has been archived by the owner on Apr 11, 2020. It is now read-only.

presentAuthFlow memory leak #8

Open
eduhh94 opened this issue Dec 8, 2019 · 1 comment
Open

presentAuthFlow memory leak #8

eduhh94 opened this issue Dec 8, 2019 · 1 comment

Comments

@eduhh94
Copy link

eduhh94 commented Dec 8, 2019

Hey Callum,

when the AuthCoordinator is presented it's also possible to dismiss the coordinator by swiping down, in this case, the coordinator.onCancel() closure doesn't get called and so the coordinator stays in the childCoordinators array. Do you have any solution to solve this issue?

Best Regards,
eduhh94

@BryanJBryce
Copy link

UIAdaptivePresentationControllerDelegate has a delegate callback called: presentationControllerDidDismiss which should work for this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants