mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
1.1b9_31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
35c6e6af5b
commit
c30c3bffe4
18 changed files with 1032 additions and 214 deletions
|
@ -32,10 +32,10 @@ class WeakRef<Delegator
|
|||
|
||||
def initialize(orig)
|
||||
super
|
||||
@__id = orig.id
|
||||
@__id = orig.__id__
|
||||
ObjectSpace.call_finalizer orig
|
||||
ObjectSpace.call_finalizer self
|
||||
ID_MAP[@__id] = self.id
|
||||
ID_MAP[@__id] = self.__id__
|
||||
ID_REV_MAP[self.id] = @__id
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue