summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-02 16:53:11 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-02 16:53:11 +0300
commitdb08f7874bd9be0e461b296569613364353d4eaf (patch)
tree615fb6683be1351a6cec47c35191106419b51d0e /src
parent98fc0543c62af68beb5caa30f1064959c548c34b (diff)
downloadplus-db08f7874bd9be0e461b296569613364353d4eaf.tar.gz
plus-db08f7874bd9be0e461b296569613364353d4eaf.tar.bz2
plus-db08f7874bd9be0e461b296569613364353d4eaf.tar.xz
plus-db08f7874bd9be0e461b296569613364353d4eaf.zip
Move VirtFs::deinit from client.
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp1
-rw-r--r--src/maingui.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 4e9e7c74c..7b54d6823 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -757,7 +757,6 @@ void Client::gameClear()
delete2(chatLogger);
TranslationManager::close();
- VirtFs::deinit();
}
int Client::testsExec()
diff --git a/src/maingui.cpp b/src/maingui.cpp
index 5019daf22..f4e80ac97 100644
--- a/src/maingui.cpp
+++ b/src/maingui.cpp
@@ -124,6 +124,7 @@ int mainGui(int argc, char *argv[])
ret = client->testsExec();
}
delete2(client);
+ VirtFs::deinit();
#if SDL_MIXER_VERSION_ATLEAST(1, 2, 11)
Mix_Quit();