kotatogram-desktop/Telegram/SourceFiles/ui
John Preston 2444acb041 Fix image data forgetting.
In case image was almost loaded (loader was ready, but not destroyed yet),
forget() didn't do anything, leaving bytes and image inside loader untouched.

Now we check loader state in forget() so that bytes and image are passed to
Image instance before they're forgot from the memory. This will improve memory
clearing while scrolling through chats with images and switching between them.
2018-10-09 19:27:18 +03:00
..
effects
style
text
toast
widgets
wrap
abstract_button.cpp
abstract_button.h
animation.cpp
animation.h
countryinput.cpp
countryinput.h
emoji_config.cpp
emoji_config.h
empty_userpic.cpp
empty_userpic.h
focus_persister.h
grouped_layout.cpp
grouped_layout.h
images.cpp
images.h
resize_area.h
rp_widget.cpp
rp_widget.h
search_field_controller.cpp
search_field_controller.h
special_buttons.cpp
special_buttons.h
text_options.cpp
text_options.h
twidget.cpp
twidget.h
unread_badge.cpp
unread_badge.h