CoordinatorKit icon indicating copy to clipboard operation
CoordinatorKit copied to clipboard

presentAuthFlow memory leak

Open eduhh94 opened this issue 5 years ago • 1 comments

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

eduhh94 avatar Dec 08 '19 14:12 eduhh94

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

BryanJBryce avatar Jan 25 '20 05:01 BryanJBryce