Skip to content

Calling Expire before LoadComplete is unsafe #3300

@peppy

Description

@peppy

Right now, calling Expire before a clock has arrived at a drawable can lead to incorrect lifetimes (due to a lookup on LatestTransformEndTime -> TransformStartTime):

public double TransformStartTime => (Clock?.CurrentTime ?? 0) + TransformDelay;

If possible, we should remove this requirement to make it a safe call, else it should probably throw an exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:transformationspriority:1Very important. Feels bad without fix. Affects the majority of users.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions