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

Memory leak if showCloseButton is false #433

Open
AndriyGo opened this issue Nov 6, 2018 · 0 comments
Open

Memory leak if showCloseButton is false #433

AndriyGo opened this issue Nov 6, 2018 · 0 comments
Labels

Comments

@AndriyGo
Copy link
Collaborator

AndriyGo commented Nov 6, 2018

I have no idea why this occurs and hence want to share it here in case someone understands why it happens.

Basically, whenever the alert is initialised with showCloseButton = false in its appearance there is a memory leak. To test it, you can replace line 65 in ViewController.swift with showCloseButton: false. Then, profile with instruments and check for leaks after clicking on "Show edit".

Any ideas on why this occurs/how to fix this are greatly appreciated.

@vikmeup would be cool if you could look into this.

@AndriyGo AndriyGo added the bug label Nov 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant