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.

}
}

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 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.

None yet

3 participants