Changed: Release all memory when leaving in login screen
--HG-- branch : develop
This commit is contained in:
parent
eabfcbf708
commit
0f6ae5e239
1 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue