mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38:55 +00:00
fix thinko in visitRoots()
This commit is contained in:
parent
c1d70499c2
commit
3238b34723
@ -231,7 +231,7 @@ visitRoots(Thread* t, Heap::Visitor* v)
|
||||
v->visit(&(t->exception));
|
||||
|
||||
for (unsigned i = 0; i < t->sp; ++i) {
|
||||
v->visit(t->stack + t->sp);
|
||||
v->visit(t->stack + i);
|
||||
}
|
||||
|
||||
for (Thread::Protector* p = t->protector; p; p = p->next) {
|
||||
|
Loading…
Reference in New Issue
Block a user