[macruby-changes] [4156] MacRuby/trunk/gc.c
source_changes at macosforge.org
source_changes at macosforge.org
Tue May 25 19:06:04 PDT 2010
Revision: 4156
http://trac.macosforge.org/projects/ruby/changeset/4156
Author: lsansonetti at 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:
--------------
MacRuby/trunk/gc.c
Modified: MacRuby/trunk/gc.c
===================================================================
--- 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);
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100525/2497e067/attachment.html>
More information about the macruby-changes
mailing list