Fix a possible crash in Large Emoji toggling.
This commit is contained in:
parent
1d2a50c407
commit
ad573ecc84
|
@ -1493,6 +1493,7 @@ auto Element::takeReactionAnimations()
|
|||
|
||||
Element::~Element() {
|
||||
// Delete media while owner still exists.
|
||||
clearSpecialOnlyEmoji();
|
||||
base::take(_media);
|
||||
if (_heavyCustomEmoji) {
|
||||
_heavyCustomEmoji = false;
|
||||
|
|
Loading…
Reference in New Issue