URLNavigator icon indicating copy to clipboard operation
URLNavigator copied to clipboard

Facing memory leaks while using URLOpenHandler

Open therudite opened this issue 8 years ago • 1 comments

I think we are using a singleton inside a closure which results in a memory leak. In addition to that there are other leaks as well.

Navigator.map("http://first") { [unowned self] _ in
            let vc = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "first") as! FirstViewController
            Navigator.push(vc)
            return true
        }

image

therudite avatar Feb 03 '17 12:02 therudite

@therudite, Thanks for reporting! Do you have any idea to fix this?

devxoul avatar Feb 08 '17 07:02 devxoul