mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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() {
|
Element::~Element() {
|
||||||
// Delete media while owner still exists.
|
// Delete media while owner still exists.
|
||||||
|
clearSpecialOnlyEmoji();
|
||||||
base::take(_media);
|
base::take(_media);
|
||||||
if (_heavyCustomEmoji) {
|
if (_heavyCustomEmoji) {
|
||||||
_heavyCustomEmoji = false;
|
_heavyCustomEmoji = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue