From 0f6ae5e23986d58370fb6c6925e37ec0e87ecdf1 Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 9 Dec 2016 16:15:18 +0100 Subject: [PATCH] Changed: Release all memory when leaving in login screen --HG-- branch : develop --- code/ryzom/client/src/client.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/code/ryzom/client/src/client.cpp b/code/ryzom/client/src/client.cpp index f1aa40224..10a3e1b40 100644 --- a/code/ryzom/client/src/client.cpp +++ b/code/ryzom/client/src/client.cpp @@ -309,6 +309,16 @@ int main(int argc, char **argv) //ICommand::execute("iFileAccessLogStop",*NLMISC::InfoLog); //ICommand::execute("iFileAccessLogClear",*NLMISC::InfoLog); #endif + + release(); + + // delete all logs and displayers when we're not using logs macros anymore + destroyDebug(); + CLog::releaseProcessName(); + + // delete the Nel context + delete appContext; + return EXIT_SUCCESS; } }