From a70addadba0be1880bc55f13701034585aa19128 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 2 Mar 2017 02:55:29 +0300 Subject: Fix possible leaks on exit and asserts about adding non existing zips and directories. --- src/client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index 51ad12106..4e9e7c74c 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -757,6 +757,7 @@ void Client::gameClear() delete2(chatLogger); TranslationManager::close(); + VirtFs::deinit(); } int Client::testsExec() @@ -1095,7 +1096,7 @@ int Client::gameExec() "/local/", "zip"); - VirtFs::removeDirFromSearchPath( + VirtFs::removeDirFromSearchPathSilent( settings.localDataDir + dirSeparator + settings.updatesDir + -- cgit v1.2.3-60-g2f50