mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Clear possible crash in media viewer.
This commit is contained in:
@@ -4763,6 +4763,7 @@ void OverlayWidget::clearBeforeHide() {
|
||||
_userPhotosData = std::nullopt;
|
||||
_collage = nullptr;
|
||||
_collageData = std::nullopt;
|
||||
clearStreaming();
|
||||
assignMediaPointer(nullptr);
|
||||
_preloadPhotos.clear();
|
||||
_preloadDocuments.clear();
|
||||
|
Reference in New Issue
Block a user