Skip to content

Conversation

@leolost2605
Copy link
Member

The transition might be interrupted by the clutter actor being destroyed leading to the callback being called which as a result might want to destroy the actor again leading to a bail out by clutter (this was the case if the nudge animation was ongoing while kill_switch_workspace was called)
Since it shouldn't be used for setting state anyway (because of how we'd like to move to interruptible gestures) which was also clarified in a comment, this should actually be the correct behavior (we don't want to cleanup any animation stuff if we're animating anew anyways).

Fixes #2145

@leolost2605 leolost2605 requested a review from a team January 1, 2025 22:55
@leolost2605 leolost2605 mentioned this pull request Jan 2, 2025
7 tasks
Copy link
Member

@lenemter lenemter left a comment

Choose a reason for hiding this comment

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

👍

@lenemter lenemter merged commit e0cd37a into main Jan 4, 2025
5 checks passed
@lenemter lenemter deleted the leolost/only-callback-if-finished branch January 4, 2025 15:02
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.

Crash after #2074

3 participants