mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
fix GC safety bug when walking stack
This commit is contained in:
parent
8335dc4297
commit
22852dcffa
@ -271,7 +271,7 @@ class MyStackWalker: public Processor::StackWalker {
|
||||
|
||||
virtual void walk(Processor::StackVisitor* v) {
|
||||
for (MyStackWalker it(this); it.valid();) {
|
||||
MyStackWalker walker(it);
|
||||
MyStackWalker walker(&it);
|
||||
if (not v->visit(&walker)) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user