diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gc.c | 1 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sun Oct 31 22:32:08 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * gc.c (rb_objspace_free): finalizers should be called separately + from freeing objspace. [ruby-dev:42479] + Sun Oct 31 22:24:14 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> * eval.c (ruby_cleanup): free current VM and its objspace even @@ -405,7 +405,6 @@ rb_objspace_alloc(void) void rb_objspace_free(rb_objspace_t *objspace) { - rb_objspace_call_finalizer(objspace); if (objspace->profile.record) { free(objspace->profile.record); objspace->profile.record = 0; |