System: Move COM init to common code

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

No files matched your search

+2 -2
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;
}