mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-22 23:06:18 +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("iFileAccessLogStop",*NLMISC::InfoLog);
|
||||||
//ICommand::execute("iFileAccessLogClear",*NLMISC::InfoLog);
|
//ICommand::execute("iFileAccessLogClear",*NLMISC::InfoLog);
|
||||||
#endif
|
#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;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue