diff --git a/LNSideMenu.podspec b/LNSideMenu.podspec index b21a73f..64431f4 100644 --- a/LNSideMenu.podspec +++ b/LNSideMenu.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'LNSideMenu' - s.version = '3.4.3' + s.version = '3.4.4' s.summary = 'A side menu control for iOS in Swift with custom layer and scrolling effect. Right and Left sides. iOS 8+.' # This description is used to generate tags and improve search results. diff --git a/LNSideMenu/Classes/LNSideMenuMangement.swift b/LNSideMenu/Classes/LNSideMenuMangement.swift index 6b59dc7..2c9df9d 100644 --- a/LNSideMenu/Classes/LNSideMenuMangement.swift +++ b/LNSideMenu/Classes/LNSideMenuMangement.swift @@ -10,7 +10,7 @@ import UIKit public struct LNSideMenuManagement: LNSideMenuManager { - var viewController: UIViewController? + weak var viewController: UIViewController? public init() {} public init(viewController: UIViewController) { self.viewController = viewController