mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-23 11:47:57 +00:00
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. |
||
---|---|---|
.. | ||
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 |