mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-06 20:56:36 +02:00
Decremented wrong variable
This commit is contained in:
parent
65e2a1a18b
commit
1b0e1aed36
1 changed files with 1 additions and 1 deletions
2
gc.c
2
gc.c
|
@ -711,7 +711,7 @@ void gc_empty_collector_stack()
|
|||
{
|
||||
// Mark stack is only used by the collector thread, so no sync needed
|
||||
while (mark_stack_i > 0) { // not empty
|
||||
mark_stack--;
|
||||
mark_stack_i--;
|
||||
gc_mark_black(mark_stack[mark_stack_i]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue