#1303: GC does not actively work with RubySpec after "core/gc". ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: critical | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by lsansonetti@…): The following change seems to make the GC work during rubyspec: {{{ diff --git a/spec/frozen/core/gc/disable_spec.rb b/spec/frozen/core/gc/disable_spec.rb index c28c57a..82dbd65 100644 --- a/spec/frozen/core/gc/disable_spec.rb +++ b/spec/frozen/core/gc/disable_spec.rb @@ -12,6 +12,7 @@ describe "GC.disable" do GC.enable GC.disable.should == false GC.disable.should == true + GC.enable end end }}} I think that the after block in the spec is never called. -- Ticket URL: <http://www.macruby.org/trac/ticket/1303#comment:3> MacRuby <http://macruby.org/>