Changed: Release all memory when leaving in login screen

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-09 16:15:18 +01:00
parent eabfcbf708
commit 0f6ae5e239

View file

@ -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;
}
}