summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-31 13:32:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-31 13:32:13 +0000
commit5eced07cd74dbe76207ace5b04b58068a34ad192 (patch)
tree8f61aa2c4b45da5b73a89672d89ca72ffe4a1dd2 /gc.c
parenta2c4b890be2004660db6e595040a8918423984a7 (diff)
* gc.c (rb_objspace_free): finalizers should be called separately
from freeing objspace. [ruby-dev:42479] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index d7aa3404a1..c9249f11bb 100644
--- a/gc.c
+++ b/gc.c
@@ -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;