System: Move COM init to common code

This commit is contained in:
Stenzek
2024-04-25 12:56:02 +10:00
parent 425235fd31
commit 7548113afd
5 changed files with 25 additions and 18 deletions

View File

@ -657,7 +657,7 @@ int main(int argc, char* argv[])
return EXIT_FAILURE;
}
if (!System::Internal::ProcessStartup())
if (!System::Internal::CPUThreadInitialize())
return EXIT_FAILURE;
RegTestHost::HookSignals();
@ -689,6 +689,6 @@ int main(int argc, char* argv[])
result = 0;
cleanup:
System::Internal::ProcessShutdown();
System::Internal::CPUThreadShutdown();
return result;
}