Skip to content
Snippets Groups Projects
Commit 661a7142 authored by Derek Foreman's avatar Derek Foreman
Browse files

libweston: Defer animation destruction to idle loop


If the first tick of an animation finishes the animation, then the
animation is destroyed before its creation function even returns.

Let's just defer that destruction to the idle loop so that can't happen.

Signed-off-by: default avatarDerek Foreman <derek.foreman@collabora.com>
parent b3df77a6
No related branches found
No related tags found
1 merge request!1545libweston: Return NULL from creation of animations that have finished
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment