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 memory leak which caused populated list views to leak, also prep 0.15.1 #263

Merged
merged 1 commit into from
Jan 26, 2021

Conversation

kyleve
Copy link
Collaborator

@kyleve kyleve commented Jan 26, 2021

No description provided.

@kyleve kyleve requested a review from kylebshr January 26, 2021 01:42
@kyleve kyleve force-pushed the kve/fix-memory-leak branch from 06ace2b to fa688d7 Compare January 26, 2021 01:43
}
}

self.waitForOneRunloop()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This forces the collection view to layout. For some reasonlayoutIfNeeded doesn't do it.

@@ -66,8 +66,8 @@ protocol ItemContentCoordinatorDelegate : AnyObject

public struct ItemStateDependencies
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the fix.

@kyleve kyleve requested review from bencochran and watt January 26, 2021 01:46
@kyleve kyleve force-pushed the kve/fix-memory-leak branch from fa688d7 to e640772 Compare January 26, 2021 01:48
@kyleve kyleve enabled auto-merge January 26, 2021 01:54
@kyleve kyleve merged commit c4c1795 into main Jan 26, 2021
@kyleve kyleve deleted the kve/fix-memory-leak branch January 26, 2021 02:15
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.

3 participants