mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/weakref.rb (WeakRef): remove debug print. [ruby-dev:31799]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7ab48f03e9
commit
af4310be97
3 changed files with 7 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Sep 24 22:14:13 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* lib/weakref.rb (WeakRef): remove debug print. [ruby-dev:31799]
|
||||
|
||||
Mon Sep 24 17:56:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/strscan/strscan.c (strscan_initialize, strscan_getch): use the
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#define RUBY_VERSION "1.9.0"
|
||||
#define RUBY_RELEASE_DATE "2007-09-23"
|
||||
#define RUBY_RELEASE_DATE "2007-09-24"
|
||||
#define RUBY_VERSION_CODE 190
|
||||
#define RUBY_RELEASE_CODE 20070923
|
||||
#define RUBY_RELEASE_CODE 20070924
|
||||
#define RUBY_PATCHLEVEL 0
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
@ -9,7 +9,7 @@
|
|||
#define RUBY_VERSION_TEENY 0
|
||||
#define RUBY_RELEASE_YEAR 2007
|
||||
#define RUBY_RELEASE_MONTH 9
|
||||
#define RUBY_RELEASE_DAY 23
|
||||
#define RUBY_RELEASE_DAY 24
|
||||
|
||||
#ifdef RUBY_EXTERN
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
|
|
Loading…
Reference in a new issue