Revision
4156
Author
lsansonetti@apple.com
Date
2010-05-25 19:06:02 -0700 (Tue, 25 May 2010)

Log Message

don't temporarily disable the collector when booting the interpreter

Modified Paths

Diff

Modified: MacRuby/trunk/gc.c (4155 => 4156)


--- MacRuby/trunk/gc.c	2010-05-26 01:44:37 UTC (rev 4155)
+++ MacRuby/trunk/gc.c	2010-05-26 02:06:02 UTC (rev 4156)
@@ -1036,9 +1036,8 @@
     }
     if (getenv("GC_DISABLE")) {
 	gc_disabled = true;
+	auto_collector_disable(__auto_zone);
     }
-
-    auto_collector_disable(__auto_zone);
 }
 
 void
@@ -1048,7 +1047,6 @@
 #if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
 	objc_startCollectorThread();
 #endif
-	auto_collector_reenable(__auto_zone);
     }
 }