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

fix lose user interaction when app make ephemeral window. #29

Merged

Conversation

r-plus
Copy link
Contributor

@r-plus r-plus commented Oct 12, 2020

Hi @NSExceptional

Capturing (strong reference) UIWindow is sometimes make a problem for example lose user interaction and eternal showing network loading progress window (PayPay.app; It is mentioned at #13 (comment) by me).

This PR fix that issue by UIWindow deallocation timing control back to application using weak reference to window.

Maybe address the #13 issue.

@NSExceptional
Copy link
Owner

Wow, thank you so much! I've been meaning to look into this for some time now but haven't gotten around to it. I'm surprised it was this simple of a fix.

@NSExceptional NSExceptional merged commit 7c6484a into NSExceptional:master Oct 12, 2020
@r-plus r-plus deleted the fix/capture_ephemeral_window branch October 12, 2020 17:00
@r-plus
Copy link
Contributor Author

r-plus commented Oct 12, 2020

Thanks for merging.
Thanks for open source :)

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

Successfully merging this pull request may close these issues.

None yet

2 participants