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) {