diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-04-08 21:07:37 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-04-08 21:07:37 +0200 |
commit | 20ec47a6504f5ebed9a4986e3d004f3445e3f987 (patch) | |
tree | ae2e09df03de12a758940d780749ed0e00b93db5 | |
parent | c8aa91aca12d5f6386c20da1526de390ff523ce7 (diff) | |
download | mana-20ec47a6504f5ebed9a4986e3d004f3445e3f987.tar.gz mana-20ec47a6504f5ebed9a4986e3d004f3445e3f987.tar.bz2 mana-20ec47a6504f5ebed9a4986e3d004f3445e3f987.tar.xz mana-20ec47a6504f5ebed9a4986e3d004f3445e3f987.zip |
Fixed assertion failure on exit
Regression introduced in 14dc8218eeebd1583e6bd3c49013b3e501f47228.
-rw-r--r-- | src/resources/emotedb.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/emotedb.cpp b/src/resources/emotedb.cpp index b0536a0e..a7130d58 100644 --- a/src/resources/emotedb.cpp +++ b/src/resources/emotedb.cpp @@ -110,6 +110,10 @@ void EmoteDB::unload() emote.sprite->releaseImageRef(); mEmotes.clear(); + + if (mUnknown.sprite) + mUnknown.sprite->releaseImageRef(); + mLoaded = false; } |