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

Example-project leaks instances of TTOpenInAppActivity #36

Open
ghost opened this issue Jul 19, 2016 · 2 comments
Open

Example-project leaks instances of TTOpenInAppActivity #36

ghost opened this issue Jul 19, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 19, 2016

Reproduce:

  • Start the app in instruments with the Allocations-instrument
  • Tap on "Open In ..."
  • Choose the "Open in ..."-action
  • Close popover
  • Repeat and check the growing number of persistent instances of TTOpenInAppActivity
@ghost
Copy link
Author

ghost commented Jul 20, 2016

I think that the documentInteractionControllerWillPresentOpenInMenu-delegate-implementation is missing a call to [self activityDidFinish:NO].
Though, it will also leak when the iPad gets rotated while the UIDocumentInteractionController is open. This is a bug in iOS, you may want to duplicate the following issue https://openradar.appspot.com/radar?id=5060950520496128.

@honkmaster
Copy link
Owner

Duplicated the issue.

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

No branches or pull requests

1 participant