avm1: Don't sync bitmapdata when disposing it

This commit is contained in:
Nathan Adams 2023-04-02 17:51:24 +02:00
parent f7da335083
commit e593541309
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ impl<'gc> BitmapDataObject<'gc> {
} }
pub fn dispose(&self, context: &mut UpdateContext<'_, 'gc>) { pub fn dispose(&self, context: &mut UpdateContext<'_, 'gc>) {
self.bitmap_data().write(context.gc_context).dispose(); self.bitmap_data_wrapper().dispose(context.gc_context);
} }
} }