* gc.c (define_final): document fix: finalizers never get called
before target object is destroyed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5cea368b61
commit
7946d2357a
@ -1,3 +1,8 @@
|
|||||||
|
Mon Jun 20 02:15:35 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* gc.c (define_final): document fix: finalizers never get called
|
||||||
|
before target object is destroyed.
|
||||||
|
|
||||||
Mon Jun 20 01:26:49 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
Mon Jun 20 01:26:49 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
* ext/openssl/openssl_missing.c, ext/openssl/ossl.h,
|
* ext/openssl/openssl_missing.c, ext/openssl/ossl.h,
|
||||||
|
6
gc.c
6
gc.c
@ -697,7 +697,7 @@ rb_gc_mark_maybe(obj)
|
|||||||
|
|
||||||
#define GC_LEVEL_MAX 250
|
#define GC_LEVEL_MAX 250
|
||||||
|
|
||||||
void
|
static void
|
||||||
gc_mark(ptr, lev)
|
gc_mark(ptr, lev)
|
||||||
VALUE ptr;
|
VALUE ptr;
|
||||||
int lev;
|
int lev;
|
||||||
@ -1705,8 +1705,8 @@ undefine_final(os, obj)
|
|||||||
* call-seq:
|
* call-seq:
|
||||||
* ObjectSpace.define_finalizer(obj, aProc=proc())
|
* ObjectSpace.define_finalizer(obj, aProc=proc())
|
||||||
*
|
*
|
||||||
* Adds <i>aProc</i> as a finalizer, to be called when <i>obj</i>
|
* Adds <i>aProc</i> as a finalizer, to be called after <i>obj</i>
|
||||||
* is about to be destroyed.
|
* was destroyed.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user