Close the global log targets on exit, flushing log files to disk

This commit is contained in:
Victor Luchits
2020-05-05 15:25:07 +03:00
parent d6e6182e65
commit febbeaeeed
2 changed files with 12 additions and 3 deletions
+1
View File
@@ -956,6 +956,7 @@ int main(int argc, char * argv[])
CAndroidVMHelper envHelper;
envHelper.callStaticVoidMethod(CAndroidVMHelper::NATIVE_METHODS_DEFAULT_CLASS, "killServer");
#endif
logConfig.deconfigure();
vstd::clear_pointer(VLC);
return 0;
}