Skip to content

Commit

Permalink
Update SideMenuPushCoordinator.swift
Browse files Browse the repository at this point in the history
memory leak test
  • Loading branch information
barunsoft0819 committed Apr 10, 2023
1 parent 8bd4fd1 commit 8780db0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Pod/Classes/SideMenuPushCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ internal final class SideMenuPushCoordinator: Coordinator {
// is dismissed after showing the appropriate screen
CATransaction.begin()
defer { CATransaction.commit() }
UIView.animationsEnabled { [weak self] in
self?.config.alongsideTransition?()
UIView.animationsEnabled {
self.config.alongsideTransition?()
}

if let lastViewController = navigationController.viewControllers.last,
Expand Down

0 comments on commit 8780db0

Please sign in to comment.