summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();