Skip to content
This repository has been archived by the owner on Nov 1, 2017. It is now read-only.

Fix TUINSView trackingView memory management #131

Merged
merged 5 commits into from
Oct 31, 2012

Conversation

jspahrsummers
Copy link

The tracking view needs to be zeroed out if the view itself is deallocated. This can happen with extremely quick multi-click interactions.

@@ -130,6 +131,8 @@ - (void)dealloc
{
[[TUILayoutManager sharedLayoutManager] removeLayoutConstraintsFromView:self];
[[TUILayoutManager sharedLayoutManager] setLayoutName:nil forView:self];

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't your fault, but it looks like this uses spaces instead of tabs. Might be worthwhile to move these over while we're here.

@jspahrsummers
Copy link
Author

@jwilling 📭

jwilling added a commit that referenced this pull request Oct 31, 2012
Fix TUINSView trackingView memory management
@jwilling jwilling merged commit 2f55099 into master Oct 31, 2012
@jwilling
Copy link

✨ ❤️

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

Successfully merging this pull request may close these issues.

2 participants