core: `loadBytes` does not emit `open`

This commit is contained in:
David Wendt 2022-09-08 21:51:45 -04:00 committed by kmeisthax
parent 0912ee4dff
commit 86ecf6076e
1 changed files with 3 additions and 1 deletions

View File

@ -865,7 +865,9 @@ impl<'gc> Loader<'gc> {
mc.replace_with_movie(uc, None, None); mc.replace_with_movie(uc, None, None);
} }
Loader::movie_loader_start(handle, uc) // NOTE: We do NOT call `movie_loader_start` as `loadBytes` does
// not emit `open`
Ok(())
})?; })?;
let sniffed_type = ContentType::sniff(&bytes); let sniffed_type = ContentType::sniff(&bytes);