osu-framework
osu-framework copied to clipboard
Calling Expire before LoadComplete is unsafe
Right now, calling Expire before a clock has arrived at a drawable can lead to incorrect lifetimes (due to a lookup on LatestTransformEndTime -> TransformStartTime):
https://github.com/ppy/osu-framework/blob/496219e8473af49417130a361b0dc314722e4250/osu.Framework/Graphics/Transforms/Transformable.cs#L35
If possible, we should remove this requirement to make it a safe call, else it should probably throw an exception.