• Dan Field's avatar
    Dispose of images after using them (#66688) · a7954691
    Dan Field authored
    * Dispose of images after using them
    Adds ImageInfo.clone, ImageInfo.dispose, and ImageInfo.isCloneOf.
    Makes all stateful holders of ui.Image objects properly clone and dispose of them.
    Behavior change for ImageStreamCompleter: Removing the last listener after registering at least one listener results in the object being disposed, and new listeners cannot be added, unless a keepAlive handle is created.
    Makes all non-stateful holders of ui.Image (i.e. paintImage and RawImage) assert that whoever gave the image to them has not disposed it on them.
    a7954691
Name
Last commit
Last update
..
_binding_io.dart Loading commit data...
_binding_web.dart Loading commit data...
_goldens_io.dart Loading commit data...
_goldens_web.dart Loading commit data...
_matchers_io.dart Loading commit data...
_matchers_web.dart Loading commit data...
accessibility.dart Loading commit data...
all_elements.dart Loading commit data...
animation_sheet.dart Loading commit data...
binding.dart Loading commit data...
buffer_matcher.dart Loading commit data...
controller.dart Loading commit data...
event_simulation.dart Loading commit data...
finders.dart Loading commit data...
frame_timing_summarizer.dart Loading commit data...
goldens.dart Loading commit data...
image.dart Loading commit data...
matchers.dart Loading commit data...
nonconst.dart Loading commit data...
platform.dart Loading commit data...
restoration.dart Loading commit data...
stack_manipulation.dart Loading commit data...
test_async_utils.dart Loading commit data...
test_compat.dart Loading commit data...
test_exception_reporter.dart Loading commit data...
test_pointer.dart Loading commit data...
test_text_input.dart Loading commit data...
test_vsync.dart Loading commit data...
widget_tester.dart Loading commit data...
window.dart Loading commit data...