AyuGramDesktop/Telegram/SourceFiles/info
John Preston f671897a4d Fix a possible crash in Go to Message on macOS.
Fixes #26273.

This crash happens with a very deep stack trace that is caused by
destroying shared media layer on Go to Message click, which starts
destroying Media::ListWidget, which destroys Ui::PopupMenu, which is
a window, so when it destructs it triggers a sync repaint of the main
window (by a system event), which tries to render the new messages slice,
which starts a photo download, which calls an item repaint in Data::Session,
and the semi-destroyed Media::ListWidget is still subscribed to the
item repaint requests and tries to repaint and crashes there.

The fix is to destroy all session-related subscriptions before the PopupMenu.
2023-05-24 20:22:41 +04:00
..
channels Fix -Wredundant-move and -Wdeprecated-copy warnings (#6663) 2019-11-12 18:15:34 +03:00
common_groups Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
downloads Make HistoryItem a final class. 2022-12-26 14:24:04 +04:00
media Fix a possible crash in Go to Message on macOS. 2023-05-24 20:22:41 +04:00
members Handle forum-non_forum changes in realtime. 2022-11-01 19:25:37 +04:00
polls Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
profile Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
settings Added initial implementation of TopBar in Premium Settings for user. 2022-09-02 21:14:31 +04:00
userpic Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
info.style Improve folder link chats list edit design. 2023-04-11 19:17:38 +04:00
info_content_widget.cpp Handle forum-non_forum changes in realtime. 2022-11-01 19:25:37 +04:00
info_content_widget.h Handle forum-non_forum changes in realtime. 2022-11-01 19:25:37 +04:00
info_controller.cpp Fix build with GCC. 2022-11-02 08:51:03 +04:00
info_controller.h Update API scheme on layer 148: Drafts in topics. 2022-11-01 19:25:38 +04:00
info_layer_widget.cpp Active round video moving to active window. 2023-01-19 11:42:00 +04:00
info_layer_widget.h Active round video moving to active window. 2023-01-19 11:42:00 +04:00
info_memento.cpp Handle forum-non_forum changes in realtime. 2022-11-01 19:25:37 +04:00
info_memento.h Handle forum-non_forum changes in realtime. 2022-11-01 19:25:37 +04:00
info_section_widget.cpp Handle forum-non_forum changes in realtime. 2022-11-01 19:25:37 +04:00
info_section_widget.h Handle forum-non_forum changes in realtime. 2022-11-01 19:25:37 +04:00
info_top_bar.cpp Implement animated spoilers. 2022-09-18 16:52:30 +04:00
info_top_bar.h Provide section title from the section class. 2022-04-05 16:31:09 +04:00
info_wrap_widget.cpp Fix possible crash in nested section show. 2023-04-22 21:20:10 +04:00
info_wrap_widget.h Fix crash in topics disabling. 2023-01-21 09:42:57 +04:00