mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 08:32:04 +02:00
Capture a weak pointer to the element and pass that to the load finish callback in HTMLImageElement::load_image(). This allows us to ignore completed loads if the <img> element is no longer around.
2.1 KiB
2.1 KiB