summaryrefslogtreecommitdiff
path: root/src/unittests/resources/map/maplayer/drawspeciallayer2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/resources/map/maplayer/drawspeciallayer2.cc')
-rw-r--r--src/unittests/resources/map/maplayer/drawspeciallayer2.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unittests/resources/map/maplayer/drawspeciallayer2.cc b/src/unittests/resources/map/maplayer/drawspeciallayer2.cc
index e47ccdb97..0092b2019 100644
--- a/src/unittests/resources/map/maplayer/drawspeciallayer2.cc
+++ b/src/unittests/resources/map/maplayer/drawspeciallayer2.cc
@@ -31,6 +31,8 @@
#include "utils/delete2.h"
#include "utils/env.h"
+#include "resources/resourcemanager/resourcemanager.h"
+
#include "resources/sdlimagehelper.h"
#include "resources/map/map.h"
@@ -385,6 +387,8 @@ TEST_CASE("MapLayer drawSpecialLayer (tempLayer)", "")
delete map;
delete mock;
GraphicsManager::deleteRenderers();
+ ResourceManager::cleanOrphans(true);
+ ResourceManager::deleteInstance();
VirtFs::unmountDirSilent("data");
VirtFs::unmountDirSilent("../data");
delete2(logger);