tdesktop/Telegram
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
..
Resources Show error when trying change number from TDesktop. 2023-05-24 18:11:17 +04:00
SourceFiles Fix a possible crash in Go to Message on macOS. 2023-05-24 20:22:41 +04:00
Telegram Version 4.8.2: Hardened Runtime in Mac App Store. 2023-05-18 11:54:56 +04:00
ThirdParty Fix initial device selection in calls. 2023-04-21 16:50:22 +04:00
build Revert "Disable xcb_xlib" 2023-05-24 18:11:36 +04:00
cmake
codegen@1a969faa0a
lib_base@8402502615 Update submodules 2023-05-19 15:33:43 +04:00
lib_crl@3d7e1e1f13
lib_lottie@3e9c2f1026
lib_qr@501f4c3502
lib_rpl@8b1015d1bd
lib_spellcheck@b94ec0107b Some build fixes. 2023-05-17 16:29:31 +04:00
lib_storage@839609369d
lib_tl@36fb95c4de
lib_ui@303a07f946 Some build fixes. 2023-05-17 16:29:31 +04:00
lib_webrtc@b68a95ad4d
lib_webview@46c465a2aa Update lib_webview 2023-05-24 17:10:39 +04:00
CMakeLists.txt Show error when trying change number from TDesktop. 2023-05-24 18:11:17 +04:00
Telegram.plist
configure.bat
configure.py
configure.sh
create.bat