Project

General

Profile

Actions

Backport #1930

closed

finalizerが実行されない r18394,r18397

Added by akira (akira yamada) about 15 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
[ruby-dev:39071]

Description

=begin
1.8.7-p174やruby_1_8_7では以下のようにfinalizerが実行されません。

$ ./ruby -ve 'a="a"; ObjectSpace.define_finalizer(a){|*o| p [:OK]}; p 1'
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]
1

$ ./ruby -ve 'a="a"; ObjectSpace.define_finalizer(a){|*o| p [:OK]}; p 1'
ruby 1.8.7 (2009-08-09 patchlevel 196) [i686-linux]
1

r18394とr18397をあてると実行されるようになります。
=end

Actions #1

Updated by shyouhei (Shyouhei Urabe) almost 15 years ago

  • Status changed from Open to Closed

=begin
Applied in changeset r26170.
=end

Actions

Also available in: Atom PDF

Like0
Like0