From cb99f92287a82293cbb15c841676a4eb9f7d5a89 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Wed, 21 Jan 2015 18:52:59 -0600 Subject: [PATCH] Add properl file log closing to import and UCS --- client_files/import/main.cpp | 2 ++ ucs/ucs.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/client_files/import/main.cpp b/client_files/import/main.cpp index 67b0c7140..7e12b2fa2 100644 --- a/client_files/import/main.cpp +++ b/client_files/import/main.cpp @@ -60,6 +60,8 @@ int main(int argc, char **argv) { ImportSkillCaps(&database); ImportBaseData(&database); + Log.CloseFileLogs(); + return 0; } diff --git a/ucs/ucs.cpp b/ucs/ucs.cpp index e00754370..69a03c84e 100644 --- a/ucs/ucs.cpp +++ b/ucs/ucs.cpp @@ -167,6 +167,8 @@ int main() { CL->CloseAllConnections(); + Log.CloseFileLogs(); + } void UpdateWindowTitle(char* iNewTitle) {