mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Fix a possible crash in Large Emoji toggling.
This commit is contained in:
parent
1d2a50c407
commit
ad573ecc84
1 changed files with 1 additions and 0 deletions
|
@ -1493,6 +1493,7 @@ auto Element::takeReactionAnimations()
|
|||
|
||||
Element::~Element() {
|
||||
// Delete media while owner still exists.
|
||||
clearSpecialOnlyEmoji();
|
||||
base::take(_media);
|
||||
if (_heavyCustomEmoji) {
|
||||
_heavyCustomEmoji = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue