diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-24 13:15:34 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-24 13:15:34 +0000 |
commit | 46c0a513af11274ae95fb6823d2872fd72af116f (patch) | |
tree | df6f23fc81e2463b7e5382f0b4878f0ba8d51815 /lib | |
parent | 2ccdcb5a206abf179bf27ee795f92a0f18a166e3 (diff) | |
download | ruby-46c0a513af11274ae95fb6823d2872fd72af116f.tar.gz ruby-46c0a513af11274ae95fb6823d2872fd72af116f.tar.xz ruby-46c0a513af11274ae95fb6823d2872fd72af116f.zip |
* lib/weakref.rb (WeakRef): remove debug print. [ruby-dev:31799]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/weakref.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/weakref.rb b/lib/weakref.rb index 20e6a1b4d..3b5bcd1b8 100644 --- a/lib/weakref.rb +++ b/lib/weakref.rb @@ -21,7 +21,6 @@ class WeakRef < Delegator @@id_rev_map = {} # ref -> obj @@mutex = Mutex.new @@final = lambda {|id| - printf "final: %p\n", id @@mutex.synchronize { rids = @@id_map[id] if rids @@ -41,7 +40,6 @@ class WeakRef < Delegator def initialize(orig) @__id = orig.object_id - printf "orig: %p\n", @__id ObjectSpace.define_finalizer orig, @@final ObjectSpace.define_finalizer self, @@final @@mutex.synchronize { |