Actions
Bug #1634
closedcalled on terminated object
Bug #1634:
called on terminated object
Description
=begin
ささだです.
ObjectSpace.each_object で inspect してまわっていると,"called on
terminated object" と言われてしまうのですが,とくに問題ないんでしたっけ?
$ ./ruby -ve 'ObjectSpace.each_object{|o| o.inspect}'
ruby 1.9.2dev (2009-06-14 trunk 23685) [i686-linux]
-e:1:in inspect': method
inspect' called on terminated object
(0x9789c14) (NotImplementedError)
from -e:1:in block in <main>' from -e:1:in
each_object'
from -e:1:in `'
ObjectSpace.each_object は klass の値をチェックしてるように思うんです
が,なんでこんなことになるんだろう.
--
// SASADA Koichi at atdot dot net
=end
Actions