Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

[ASDataController] Cancel node measurement after Table/Collection is deallocated #1181

@Adlai-Holler

Description

@Adlai-Holler

This caused an assertion failure for me because the data controller was trying to layout nodes to fit constrained size of (0,0). It's also a potential performance hazard if your user opens a giant feed and then immediately closes it and tries to do something else.

I'm honestly too scared to try to touch this one myself. My instinct would be, in _layoutNode:withConstrainedSize: to return early if _dataSource is nil. @nguyenhuy Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions