diff --git a/src/ChaiVM/interpreter/garbage-collector.cpp b/src/ChaiVM/interpreter/garbage-collector.cpp index 79795ea..f33aba5 100644 --- a/src/ChaiVM/interpreter/garbage-collector.cpp +++ b/src/ChaiVM/interpreter/garbage-collector.cpp @@ -13,8 +13,8 @@ void GarbageCollector::collectRoots() { // todo: balls explosion alert! roots_.push_back(Object(frame->operator[](i))); } - frame = frame->back(); } + frame = frame->back(); } if (exec_.isAccRef()) { roots_.push_back(Object(exec_.acc()));