diff options
Diffstat (limited to 'src/System.Private.CoreLib/src/System/Runtime/InitializeFinalizerThread.cs')
-rw-r--r-- | src/System.Private.CoreLib/src/System/Runtime/InitializeFinalizerThread.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InitializeFinalizerThread.cs b/src/System.Private.CoreLib/src/System/Runtime/InitializeFinalizerThread.cs index 2b0e67bc8..cc52fda24 100644 --- a/src/System.Private.CoreLib/src/System/Runtime/InitializeFinalizerThread.cs +++ b/src/System.Private.CoreLib/src/System/Runtime/InitializeFinalizerThread.cs @@ -13,9 +13,9 @@ namespace System.Runtime [RuntimeExport("InitializeFinalizerThread")] public static void DoInitialize() { - // Make sure that the finalizer thread is RoInitialized before any objects are finalized. If this + // Make sure that the finalizer thread is CoInitialized before any objects are finalized. If this // fails, it will throw an exception and that will go unhandled, triggering a FailFast. - RuntimeThread.RoInitialize(); + RuntimeThread.InitializeCom(); } } } |