diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-02 02:55:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-02 02:55:29 +0300 |
commit | a70addadba0be1880bc55f13701034585aa19128 (patch) | |
tree | 5412e7844cc5a08532b82e4776b4bd3c9bff4818 /src/client.cpp | |
parent | 38846eb9dda3b1656a0b36acb2945edf7b314fa0 (diff) | |
download | manaverse-a70addadba0be1880bc55f13701034585aa19128.tar.gz manaverse-a70addadba0be1880bc55f13701034585aa19128.tar.bz2 manaverse-a70addadba0be1880bc55f13701034585aa19128.tar.xz manaverse-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.cpp | 3 |
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 + |