mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
gc.c: fix r54115
* gc.c (gc_page_sweep): use the argument objspace. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7a3cc69779
commit
764f39210b
1 changed files with 1 additions and 1 deletions
2
gc.c
2
gc.c
|
@ -3453,7 +3453,7 @@ gc_page_sweep(rb_objspace_t *objspace, rb_heap_t *heap, struct heap_page *sweep_
|
|||
if (heap_pages_deferred_final && !finalizing) {
|
||||
rb_thread_t *th = GET_THREAD();
|
||||
if (th) {
|
||||
gc_finalize_deferred_register(rb_objspace_of(th->vm));
|
||||
gc_finalize_deferred_register(objspace);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue