fix use-after-free (for some reason only when started with empty settings, quitted)

This commit is contained in:
Garux 2022-10-31 12:30:43 +03:00
parent 41de4bb321
commit 5ce090b8c7

View File

@ -538,6 +538,7 @@ int main( int argc, char* argv[] ){
Radiant_Shutdown();
qInstallMessageHandler( nullptr );
// close the log file if any
Sys_LogFile( false );