Fix logger eventually causing a crash without a console on Windows. (#481)

This commit is contained in:
Skyth (Asilkan)
2025-03-01 12:48:19 +03:00
committed by GitHub
parent 881712999c
commit 9e744ffded
6 changed files with 30 additions and 6 deletions
+2
View File
@@ -153,6 +153,8 @@ int main(int argc, char *argv[])
timeBeginPeriod(1);
#endif
os::process::CheckConsole();
if (!os::registry::Init())
LOGN_WARNING("OS doesn't support registry");