mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-27 19:30:54 +00:00
Changed: Release all memory when leaving in login screen
This commit is contained in:
parent
9bfa8f1049
commit
a6b31df8de
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