Skip to content
Commit 02d56ca8 authored by Fushan Wen's avatar Fushan Wen
Browse files

wallpapers/image: fix default image overriding the true image

The default image is set in MediaProxy ctor. When the default image is
still in loading status, the model image can change and be already
loaded before the default image is loaded, therefore there could be a
race condition that the default image is loaded later and overrides the
true image.

This stores the pending image and destroys the previous pending image
to fix the race condition.

BUG: 456189
FIXED-IN: 5.26
parent d0c5e618
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment