From 46c0a513af11274ae95fb6823d2872fd72af116f Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 24 Sep 2007 13:15:34 +0000 Subject: * 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 --- lib/weakref.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') 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 { -- cgit