summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-02 02:55:29 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-02 02:55:29 +0300
commita70addadba0be1880bc55f13701034585aa19128 (patch)
tree5412e7844cc5a08532b82e4776b4bd3c9bff4818 /src/client.cpp
parent38846eb9dda3b1656a0b36acb2945edf7b314fa0 (diff)
downloadplus-a70addadba0be1880bc55f13701034585aa19128.tar.gz
plus-a70addadba0be1880bc55f13701034585aa19128.tar.bz2
plus-a70addadba0be1880bc55f13701034585aa19128.tar.xz
plus-a70addadba0be1880bc55f13701034585aa19128.zip
Fix possible leaks on exit and asserts about adding non existing zips and directories.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 2 insertions, 1 deletions
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 +