core: When preloading other movie clips, forcibly preload them synchronously.

This commit is contained in:
David Wendt 2021-07-21 18:01:15 -04:00 committed by kmeisthax
parent 4e9bb3a173
commit b5cbfaf093
1 changed files with 4 additions and 1 deletions

View File

@ -3258,7 +3258,10 @@ impl<'gc, 'a> MovieClipData<'gc> {
num_frames, num_frames,
); );
movie_clip.preload(context); let mut is_finished = false;
while !is_finished {
is_finished = movie_clip.preload(context);
}
context context
.library .library