We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 439b35f commit ccf355cCopy full SHA for ccf355c
src/coreclr/vm/mono/mono_coreclr.cpp
@@ -441,6 +441,10 @@ void SetupDomainPaths(MonoObject *alcObject)
441
442
extern "C" EXPORT_API MonoDomain* mono_jit_init_version(const char *file, const char* runtime_version)
443
{
444
+#if defined(UNITYGC)
445
+ _putenv_s("ComPlus_GCName", "unitygc.dll");
446
+ SetEnvironmentVariableW(L"ComPlus_GCName", L"unitygc.dll");
447
+#endif
448
g_gc_handles_lock.Init(CrstMonoHandles);
449
g_add_internal_lock.Init(CrstMonoICalls);
450
0 commit comments