summaryrefslogtreecommitdiff
path: root/src/integrity_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-02 16:54:06 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-02 16:54:06 +0300
commit40b35b5a049187c1911075c474086251d639d127 (patch)
treec3c3dc430d9ae2017b85f4c6ca835f2e432c0d9d /src/integrity_unittest.cc
parentdb08f7874bd9be0e461b296569613364353d4eaf (diff)
downloadmv-40b35b5a049187c1911075c474086251d639d127.tar.gz
mv-40b35b5a049187c1911075c474086251d639d127.tar.bz2
mv-40b35b5a049187c1911075c474086251d639d127.tar.xz
mv-40b35b5a049187c1911075c474086251d639d127.zip
Revert "Fix tests failure in physfs deinit."
This reverts commit 22a2c48a263c67ab3418c22a88cec67e5c1d318c.
Diffstat (limited to 'src/integrity_unittest.cc')
-rw-r--r--src/integrity_unittest.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/integrity_unittest.cc b/src/integrity_unittest.cc
index d2f0d498b..0095f22ca 100644
--- a/src/integrity_unittest.cc
+++ b/src/integrity_unittest.cc
@@ -510,9 +510,11 @@ TEST_CASE("integrity tests", "integrity")
resourceManager->cleanOrphans(true);
+ delete client;
+ client = nullptr;
+
VirtFs::removeDirFromSearchPath("data");
VirtFs::removeDirFromSearchPath("../data");
- delete2(client);
delete2(logger);
// VirtFs::deinit();
}