Page MenuHomePhabricator

efl_ui_image: Fix unnecessary unload of memfile_set.
ClosedPublic

Authored by jsuya on Apr 27 2020, 3:08 AM.

Details

Summary

In D11392, fixed to call file_unload when doing memfile_set.
Therefore, "load,error" callback was called while unloading object
that was not loaded when first load with memfile_set.
So fix it to avoid unnecessary unloading.

Test Plan


cp ./test_imge.c ./efl/
cd efl
gcc -o test_image test_image.c -g pkg-config --cflags --libs elementary

./test_image
Loading image...
Async file load failed.
Image is ready to show.

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
jsuya created this revision.Apr 27 2020, 3:08 AM
jsuya requested review of this revision.Apr 27 2020, 3:08 AM
jsuya edited the test plan for this revision. (Show Details)Apr 27 2020, 3:08 AM

+1 and I am sorry for causing the problem. SPANK SPank spank...!

Hermet accepted this revision.Apr 27 2020, 3:29 AM
This revision is now accepted and ready to land.Apr 27 2020, 3:29 AM
This revision was automatically updated to reflect the committed changes.