Skip to content
  • Aaron Patterson's avatar
    8db269ed
    Guard array when appending · 8db269ed
    Aaron Patterson authored
    This prevents early collection of the array.  The GC doesn't see the
    array on the stack when Ruby is compiled with optimizations enabled
    
    Thanks @jhaberman for the test case
    
    [ruby-core:105099] [Bug #18140]
    8db269ed
    Guard array when appending
    Aaron Patterson authored
    This prevents early collection of the array.  The GC doesn't see the
    array on the stack when Ruby is compiled with optimizations enabled
    
    Thanks @jhaberman for the test case
    
    [ruby-core:105099] [Bug #18140]
Loading