diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-17 15:48:05 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-17 15:48:05 +0000 |
commit | 68201165edb493fd48426c039bd84a25c326fdca (patch) | |
tree | 903dd17ffbd77a331860fe863e28400bec5bd53c /gc.c | |
parent | 4156653bc05e54b2f779a7aa4ba354d957914238 (diff) |
* gc.c (rb_gc_call_finalizer_at_exit): finalizer_table can be NULL.
[ruby-core:24395]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@24178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1998,7 +1998,7 @@ rb_gc_call_finalizer_at_exit() int i; /* run finalizers */ - if (need_call_final) { + if (need_call_final && finalizer_table) { do { p = deferred_final_list; deferred_final_list = 0; |