Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing memory leaks while using URLOpenHandler #43

Open
therudite opened this issue Feb 3, 2017 · 1 comment
Open

Facing memory leaks while using URLOpenHandler #43

therudite opened this issue Feb 3, 2017 · 1 comment

Comments

@therudite
Copy link

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

@devxoul
Copy link
Owner

devxoul commented Feb 8, 2017

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

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

No branches or pull requests

2 participants