Skip to content

Commit 671721b

Browse files
committed
UNDO BEFORE MERGE: add delay in finalizer thread.
1 parent a5b7321 commit 671721b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/coreclr/vm/finalizerthread.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,9 @@ DWORD WINAPI FinalizerThread::FinalizerThreadStart(void *args)
380380

381381
LOG((LF_GC, LL_INFO10, "Finalizer thread starting...\n"));
382382

383+
// TODO: UNDO before merging
384+
ClrSleepEx(1000, false);
385+
383386
#ifdef TARGET_WINDOWS
384387
#ifdef FEATURE_COMINTEROP
385388
// Making finalizer thread MTA early ensures that COM is initialized before we initialize our thread

0 commit comments

Comments
 (0)