X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=libgc%2Fpthread_stop_world.c;h=3bfdfbf35eddc525cb5667d1e6a258babf555ea5;hb=5e27431a9ac461f52e12e3162cb9f93cbf71f3ea;hp=c5016416ad16e79ca137702db8e7ce4bc1e8528d;hpb=b3b28212f6a26cc906c8d4737966b44f281856b5;p=mono.git diff --git a/libgc/pthread_stop_world.c b/libgc/pthread_stop_world.c index c5016416ad1..3bfdfbf35ed 100644 --- a/libgc/pthread_stop_world.c +++ b/libgc/pthread_stop_world.c @@ -611,6 +611,7 @@ void GC_stop_world() { if (GC_notify_event) GC_notify_event (GC_EVENT_PRE_STOP_WORLD); + GC_process_togglerefs (); /* Make sure all free list construction has stopped before we start. */ /* No new construction can start, since free list construction is */ /* required to acquire and release the GC lock before it starts, */