Fixed: Fix memory leaks about logs, displayers, etc...

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-04 17:23:28 +01:00
parent b8658f65f1
commit b4de1326d1

View file

@ -393,6 +393,10 @@ int main(int argc, char **argv)
quitCrashReport (); quitCrashReport ();
#endif // FINAL_VERSION #endif // FINAL_VERSION
// delete all logs and displayers when we're not using logs macros anymore
destroyDebug();
CLog::releaseProcessName();
// delete the Nel context // delete the Nel context
delete appContext; delete appContext;