summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/weakref.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/weakref.rb b/lib/weakref.rb
index 20e6a1b4d4..3b5bcd1b8e 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 {